Skip to content

test: Dual-run SubqueryTest assertions that match under v2 - #1780

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

test: Dual-run SubqueryTest assertions that match under v2#1780
mbasmanova wants to merge 1 commit into
facebookincubator:mainfrom
mbasmanova:export-D117580754

Conversation

@mbasmanova

Copy link
Copy Markdown
Contributor

Summary: AXIOM_ASSERT_PLAN_V1 skips the shape comparison under v2, so a v2 plan that already matches the pinned shape goes unchecked. 14 assertions in SubqueryTest were pinned that way even though both optimizers produce the same plan; they now use AXIOM_ASSERT_PLAN and hold v2 to the shape as well. The pins that remain are real v2 differences.

Differential Revision: D117580754

Summary: `AXIOM_ASSERT_PLAN_V1` skips the shape comparison under v2, so a v2 plan that already matches the pinned shape goes unchecked. 14 assertions in `SubqueryTest` were pinned that way even though both optimizers produce the same plan; they now use `AXIOM_ASSERT_PLAN` and hold v2 to the shape as well. The pins that remain are real v2 differences.

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

meta-codesync Bot commented Aug 26, 2026

Copy link
Copy Markdown

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

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