Skip to content

Cosmos querying over arrays of structural type#33998

Merged
roji merged 4 commits intodotnet:mainfrom
roji:CosmosStructuralQuerying
Jun 20, 2024
Merged

Cosmos querying over arrays of structural type#33998
roji merged 4 commits intodotnet:mainfrom
roji:CosmosStructuralQuerying

Conversation

@roji
Copy link
Copy Markdown
Member

@roji roji commented Jun 15, 2024

This PR adds general support for querying over arrays of structural types in Cosmos. Most translations work, various problems and edge cases are tracked separately.

Note that this PR introduces a bit of expression type explosion, with many types representing the same NoSQL syntax (but returning different things, i.e. scalar vs. structural type). See #33999 for more information, hopefully we clean this up at some point.

Closes #16926
Closes #20441
Closes #25700
Closes #25701
Closes #33032

@roji roji force-pushed the CosmosStructuralQuerying branch from 92f348b to f4c0b07 Compare June 15, 2024 18:55
Comment thread src/EFCore.Cosmos/Query/Internal/CosmosQueryUtils.cs Outdated
@roji roji requested a review from a team June 19, 2024 14:47
@roji roji enabled auto-merge (squash) June 20, 2024 17:44
@roji roji merged commit 531c238 into dotnet:main Jun 20, 2024
@roji roji deleted the CosmosStructuralQuerying branch June 20, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants