Skip to content

test(set): Pin intersect and column-pruning shapes to v2 - #1790

Open
mbasmanova wants to merge 1 commit into
facebookincubator:mainfrom
mbasmanova:export-D117682348
Open

test(set): Pin intersect and column-pruning shapes to v2#1790
mbasmanova wants to merge 1 commit into
facebookincubator:mainfrom
mbasmanova:export-D117682348

Conversation

@mbasmanova

Copy link
Copy Markdown
Contributor

Summary: Two SetTest assertions compared the plan only under v1, so v2's shape went unverified. Both now assert v2. In intersect, v2 probes the inner join with the more selective leg, making the intermediate that feeds the outer join's build side smaller, and it emits one trailing Project where v1 emits two. In filterColumnPruningInUnionAll the two optimizers differ only in the order of the scan's output columns, so the positional alias moves.

Differential Revision: D117682348

Summary: Two `SetTest` assertions compared the plan only under v1, so v2's shape went unverified. Both now assert v2. In `intersect`, v2 probes the inner join with the more selective leg, making the intermediate that feeds the outer join's build side smaller, and it emits one trailing `Project` where v1 emits two. In `filterColumnPruningInUnionAll` the two optimizers differ only in the order of the scan's output columns, so the positional alias moves.

Differential Revision: D117682348
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Aug 27, 2026
@meta-codesync

meta-codesync Bot commented Aug 27, 2026

Copy link
Copy Markdown

@mbasmanova has exported this pull request. If you are a Meta employee, you can view the originating Diff in D117682348.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant