Skip to content

Conversation

@roji
Copy link
Member

@roji roji commented Jun 4, 2024

NOTE: This PR is based on top of #33895, review 2nd commit only

Closes #31063

@roji roji requested a review from a team June 4, 2024 14:36
SELECT c
FROM root c
WHERE ((c["Discriminator"] = "Customer") AND NOT((true = false)))
WHERE ((c["Discriminator"] = "Customer") AND NOT(false))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Almost a good translation now 😆

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, there's still a ways to go... :)

The real question here IMHO is how to e.g. implement optimizations without being forced to fully re-implement everything for each provider (relational, Cosmos...) - that simply doesn't scale... I have some thoughts on it for down the road...

@roji roji force-pushed the RemoveCosmosInNullability branch from c46500e to f020387 Compare June 5, 2024 08:14
@roji roji force-pushed the RemoveCosmosInNullability branch from f020387 to 4e3c531 Compare June 5, 2024 13:10
@roji roji merged commit e62a2cb into dotnet:main Jun 5, 2024
@roji roji deleted the RemoveCosmosInNullability branch June 5, 2024 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cosmos: remove null semantics compensation for InExpression

2 participants