opt: AssociateJoin should push down transitive equalities #36226
Labels
A-sql-optimizer
SQL logical planning and optimizations.
C-bug
Code not up to spec/doc, specs & docs deemed correct. Solution expected to change code/behavior.
Consider this schema+query:
There's a transitive equality which in theory should get pushed down, but since the rule that generates those is a norm rule, it doesn't get applied to the expression generated by AssociateJoin, and we end up with a cross join where we shouldn't.
The text was updated successfully, but these errors were encountered: