Open roji opened 1 year ago
@roji I'm trying to figure out what work this is tracking for 9. I implemented model building and change tracking support for nested collections in #33456. It's possible I should have then assigned this to you to do query stuff. Are we still missing query support for nested collections? If so, everywhere, just in relational, or just in Cosmos? (If it's not working in Cosmos, then that's a regression, and we'll have to decide how to handle it. If it's not working in relational, then we should block nested collections in relational for 9.)
Design meeting decision: leave as-is for Cosmos. Block nested collections on 9. See #34324.
29427 allows mapping arbitrary collections of primitive types to JSON text columns, and #30426 allows querying them with arbitrary LINQ operators. This tracks mapping nested collections as well (e.g.
int[][]
).Some ideas for query translations over nested collections:
Note that IIRC PG doesn't support nested arrays (but does support multidimensional ones).