Skip to content

Migrate datafusion/sql tests to insta, part1 #15497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

qstommyshu
Copy link
Contributor

@qstommyshu qstommyshu commented Mar 30, 2025

Which issue does this PR close?

Rationale for this change

What changes are included in this PR?

This is the part 1 of #15484 breakdown, as the code changes in #15484 is too large.

Are these changes tested?

Yes, I manually tested the before/after changes.

Are there any user-facing changes?

No

Copy link
Contributor

@blaginin blaginin left a comment

Choose a reason for hiding this comment

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

well done! 👏

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

I agree -- thank you @qstommyshu and @blaginin for the review. This is really nicely done

@alamb alamb merged commit 19a1e58 into apache:main Mar 30, 2025
29 checks passed
nirnayroy pushed a commit to nirnayroy/datafusion that referenced this pull request May 2, 2025
* Add `insta` as a dependency in Cargo.toml and Cargo.lock

* WIP, migrate simple test cases to `insta`

* taplo fmt

* strip backtrace from errors in SQL integration tests

* Use `allow_duplicates!` macro in SQL integration tests for error snapshots

* remove backtrace from error in test_select_distinct_order_by

* WIP: migrate all `prepare_stmt_replace_params_quick_test` to `insta`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sql SQL Planner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants