Skip to content

test: add fuzz test for doing aggregation with larger than memory groups and sorting with limited memory #15727

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

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

rluvaton
Copy link
Contributor

@rluvaton rluvaton commented Apr 15, 2025

Which issue does this PR close?

N/A

Rationale for this change

Adding failing tests to show the current problem with aggregation when there is a need for spilling and we can't hold all of the record batches in memory and tests to make sure that the implementation is dynamic based on the available memory

What changes are included in this PR?

Added fuzz tests in aggregation and sorting

Are these changes tested?

Yes, but they all fail currently

Are there any user-facing changes?

No


Requested by @alamb in #15610 (comment)

FYI all of this tests pass on my PR #15700

@github-actions github-actions bot added the core Core DataFusion crate label Apr 15, 2025
@rluvaton rluvaton marked this pull request as draft April 15, 2025 21:13
@rluvaton rluvaton changed the title test: add fuzz test for doing aggregation with larger than memory groups test: add fuzz test for doing aggregation with larger than memory groups and sorting with limited memory Apr 15, 2025
@Rachelint
Copy link
Contributor

Rachelint commented Apr 16, 2025

It is really a big coverage improvment for aggr testing!

@alamb
Copy link
Contributor

alamb commented Apr 28, 2025

What I suggest we should do with this PR is

  1. [#ignore] the tests that are failing
  2. leave a comment with link to the PR / ticket to fix them
  3. Merge this PR

@alamb alamb mentioned this pull request Apr 28, 2025
19 tasks
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.

3 participants