Skip to content

Conversation

@Shreyaskr1409
Copy link
Contributor

Which issue does this PR close?

Rationale for this change

Completely migrate physical plan tests to insta

What changes are included in this PR?

Migrating from assert_batches_sorted_eq and assert_batches_eq to assert_snapshot in physical-plan tests

Are these changes tested?

Yes, they are

Are there any user-facing changes?

No, they are not

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.

Thanks @Shreyaskr1409 -- this looks really close. I left a few comments. Let me know what you think

FYI @blaginin

@Shreyaskr1409
Copy link
Contributor Author

@alamb I updated everything. There are a few failing tests but they are failing due to time (lib) not getting compiled. This is unusual as tests passed the last time and I did not add any major changes which would make tests fail. Is there something more which I am supposed to do?

Copy link
Member

@xudong963 xudong963 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you

@Shreyaskr1409 Shreyaskr1409 requested a review from alamb March 24, 2025 16:10
@alamb
Copy link
Contributor

alamb commented Mar 24, 2025

@alamb I updated everything. There are a few failing tests but they are failing due to time (lib) not getting compiled. This is unusual as tests passed the last time and I did not add any major changes which would make tests fail. Is there something more which I am supposed to do?

I retriggered the test job and hopefully they will pass this time (sometimes there is some sort of intermittent issue 🤷 )

@alamb
Copy link
Contributor

alamb commented Mar 24, 2025

Passed on rerun. 🚀

@alamb alamb merged commit 49737d8 into apache:main Mar 24, 2025
27 checks passed
@alamb
Copy link
Contributor

alamb commented Mar 24, 2025

Thanks again @Shreyaskr1409 and @xudong963

@Shreyaskr1409 Shreyaskr1409 deleted the insta_physical_plan_2 branch March 24, 2025 19:39
qstommyshu pushed a commit to qstommyshu/datafusion that referenced this pull request Mar 27, 2025
* Migrated tests to insta in aggregate/topk/heap.rs

* Migrated tests to insta in joins/nested_loop_join.rs

* Migrated tests to insta in joins/sort_merge_join.rs

* Remove snapshot uploaded by mistake

* Migrated tests to insta in repartition/mod.rs

* Fix batches_to_sort_string problem and formatting
nirnayroy pushed a commit to nirnayroy/datafusion that referenced this pull request May 2, 2025
* Migrated tests to insta in aggregate/topk/heap.rs

* Migrated tests to insta in joins/nested_loop_join.rs

* Migrated tests to insta in joins/sort_merge_join.rs

* Remove snapshot uploaded by mistake

* Migrated tests to insta in repartition/mod.rs

* Fix batches_to_sort_string problem and formatting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants