Skip to content

[WIP][SPARK-31973][SQL] Skip partial aggregates in run-time if reduction ratio is low #33161

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

Closed
wants to merge 3 commits into from

Conversation

shipra-a
Copy link

@shipra-a shipra-a commented Jul 1, 2021

What changes were proposed in this pull request?

This PR builds on top of #28804. In addition to the other PR, one other change is that the partial aggregation hashmap is freed as soon as partial aggregation is disabled to prevent off-heap OOMs.

Why are the changes needed?

This change can help improve query performance.

Does this PR introduce any user-facing change?

No

How was this patch tested?

Existing and additional unit tests.

@github-actions github-actions bot added the SQL label Jul 1, 2021
@AmplabJenkins
Copy link

Can one of the admins verify this patch?

shipra-a and others added 2 commits June 30, 2021 17:55
Co-authored-by: Karuppayya Rajendran <karuppayya1990@gmail.com>
@shipra-a shipra-a force-pushed the SPARK-31973-shipra branch from 1ab98e5 to 0453804 Compare July 1, 2021 01:00
@shipra-a shipra-a force-pushed the SPARK-31973-shipra branch from 0453804 to a7e97dd Compare July 1, 2021 01:21
@github-actions
Copy link

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions bot added the Stale label Oct 10, 2021
@github-actions github-actions bot closed this Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants