Skip to content

Conversation

@alamb
Copy link
Contributor

@alamb alamb commented Aug 29, 2023

Which issue does this PR close?

related to #7432

Rationale for this change

While working on #7432 I wasn't 100% clear what sort cases were covered, which lead me to sort_fuzz.

I took some time to make that clearer.

What changes are included in this PR?

Rework sort_fuzz to be a builder style

Are these changes tested?

only tests

Are there any user-facing changes?

@alamb alamb marked this pull request as ready for review August 29, 2023 11:23
@github-actions github-actions bot added the core Core DataFusion crate label Aug 29, 2023
)
.await
SortTest::new()
.with_int32_batches(5)
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 idea here is simply to make the test parameters explicit and easier to read

Copy link
Member

@yjshen yjshen left a comment

Choose a reason for hiding this comment

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

The builder style is much easier to read. Nice refactor!

@yjshen yjshen merged commit 7bca665 into apache:main Aug 30, 2023
@alamb
Copy link
Contributor Author

alamb commented Sep 5, 2023

Thanks @yjshen !

@alamb alamb deleted the alamb/sort_fuzz branch September 5, 2023 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Core DataFusion crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants