Skip to content
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

Add multi-column topk fuzz tests #7898

Merged
merged 4 commits into from
Oct 22, 2023
Merged

Conversation

alamb
Copy link
Contributor

@alamb alamb commented Oct 21, 2023

Which issue does this PR close?

This is a follow on to #7772 (❤️ ) by @Tangruilin

Rationale for this change

I would like coverage for multi-column sorts as well as coverage for different limit values as well

What changes are included in this PR?

  1. Move tests into limit_fuzz.rs as they are independent of the Sort fuzz tests
  2. Make the tests it run faster (in parallel)
  3. Add coverage for multi-column sorts
  4. Add coverage for different limit values too

Are these changes tested?

Only tests

Are there any user-facing changes?

no

@github-actions github-actions bot added the core Core DataFusion crate label Oct 21, 2023
@alamb alamb changed the title Add multi-column topk tests Add multi-column topk fuzz tests Oct 21, 2023
@Dandandan Dandandan merged commit dae1efb into apache:main Oct 22, 2023
22 checks passed
@alamb
Copy link
Contributor Author

alamb commented Oct 22, 2023

Thank you @Dandandan

@alamb alamb deleted the alamb/more_topk_coverage branch October 22, 2023 23:33
}

#[tokio::test]
async fn test_sort_topk_i64str() {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the multi-column fuzz test

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