-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Correct move conditions from JOIN ON to WHERE for ANY JOIN` #21671
Copy link
Copy link
Closed
Labels
comp-joinsJOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...comp-query-optimizerQuery plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa...Query plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa...feature
Metadata
Metadata
Assignees
Labels
comp-joinsJOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...JOINs end-to-end (planning hooks + runtime join operators/algorithms). Single bucket to avoid pla...comp-query-optimizerQuery plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa...Query plan optimization: physical plan steps, plan-level rewrites and optimizations (QueryPlan pa...feature
Type
Fields
Give feedbackNo fields configured for issues without a type.
I think this could lead to error with . A query like
is not the same as
The first one should return a line while the second returns anything because it joins on the first machting line with and then apply .
IMHO the where clause should be added to a subselect like
Originally posted by @PHaroZ in #18720 (comment)