Replies: 1 comment
-
converted this to issue: #17714 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
A simplified example queries:
The above query supposed to go through
TransformCorrelatedInPredicateToJoin
rule and the ApplyNode with its subquery supposed to be replaced with a left join.However, possibly this change #7882 converted the column to a
subscriptExpression
and there are 2 extra projections added between the Filter and TableScanThis caused the visitor to determine it correlated shallowly and returned without a rewrite and left ApplyNode in the query plan, and fail the query with
Given correlated subquery is not supported
error.Want to gain some insights on what is actually the root cause here?
are the extra projections supposed to be pushed down or removed?
or its the rules should handle the nested field properly after the subscriptExpression is being used instead of dereference symbol.
Beta Was this translation helpful? Give feedback.
All reactions