Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Jan 29, 2026

Which issue does this PR close?

Rationale for this change

While reviewing #20048 and verifying test coverage, it was hard for me to see the test differences (b/c the formatting was not great)

What changes are included in this PR?

Port the tests to use insta rather than assert_eq

Are these changes tested?

Yes, only tests

Are there any user-facing changes?

@alamb alamb added the development-process Related to development process of DataFusion label Jan 29, 2026
@github-actions github-actions bot added optimizer Optimizer rules core Core DataFusion crate sqllogictest SQL Logic Tests (.slt) and removed development-process Related to development process of DataFusion labels Jan 29, 2026
];
assert_eq!(initial, expected_initial);
let initial = format_plan(&global_limit);
insta::assert_snapshot!(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The point is to use this alternate format which is easier to update and to diff

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

Labels

core Core DataFusion crate optimizer Optimizer rules sqllogictest SQL Logic Tests (.slt)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants