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
when processing collection join we try to add correlation predicate columns to the inner projection, however that produces incorrect sql - group by query can only project grouping keys (and aggregates).
Outer key can't be part of the grouping either (Each GROUP BY expression must contain at least one column that is not an outer reference.)
Uncorrelated group by subqueries should still work.
The text was updated successfully, but these errors were encountered:
maumar
changed the title
Query: collection join scenario where inner collection is a grou by query correlated with outer should be detected and blocked
Query: collection join scenario where inner collection is a group by correlated with outer should be detected and blocked
Aug 7, 2020
Example:
when processing collection join we try to add correlation predicate columns to the inner projection, however that produces incorrect sql - group by query can only project grouping keys (and aggregates).
Outer key can't be part of the grouping either (Each GROUP BY expression must contain at least one column that is not an outer reference.)
Uncorrelated group by subqueries should still work.
The text was updated successfully, but these errors were encountered: