Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
57524: opt: fix bug in ExtractJoinEqualities rule r=RaduBerinde a=RaduBerinde If the join is semi/anti, this rule generates an incorrect projection (which passes through columns not in input). Similar to cockroachdb#57501. Other normalization rules prune the columns so this doesn't lead to a bad outcome (at least in most cases). I will add an assertion in CheckExpr for this condition in a separate PR - without this fix, the assertion fires on an existing test. Release note: None Co-authored-by: Radu Berinde <[email protected]>
- Loading branch information