You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cosmos: handle fake LeftJoins in query tree #33969
Of course, in Cosmos (and in relational JSON), p.Orders doesn't represent a join at all; so we need to ignore it, reverse-engineering the original query so that this can be translated.
Long-term, we should get rid of these nodes altogether by removing nav expansion as a preprocessing step (#32957).
These turned out to be non-fake LeftJoins, since a non-owned entity (Planet) is accessed in the query above. Will introduce a specialized translation failure message for this case, and scrub the tests hitting this (see #34066).
Thanks for going over these @ajcvickers. This ended up being an error message tweak and a test cleanup, am placing in the 9.0 milestone as closed-fixed.
Activity
Report cross-document join exception on Cosmos
roji commentedon Jun 22, 2024
These turned out to be non-fake LeftJoins, since a non-owned entity (Planet) is accessed in the query above. Will introduce a specialized translation failure message for this case, and scrub the tests hitting this (see #34066).
Report cross-document join exception on Cosmos
Report cross-document join exception on Cosmos
Report cross-document join exception on Cosmos (#34066)
ajcvickers commentedon Nov 11, 2024
@roji Should this be closed-fixed and in a release, or closed-no-further-action and then closed as not-planned?
roji commentedon Nov 12, 2024
Thanks for going over these @ajcvickers. This ended up being an error message tweak and a test cleanup, am placing in the 9.0 milestone as closed-fixed.