Skip to content

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

Closed
shipra-a wants to merge 3 commits into
apache:masterfrom
shipra-a:SPARK-31973-shipra
Closed

[WIP][SPARK-31973][SQL] Skip partial aggregates in run-time if reduction ratio is low#33161
shipra-a wants to merge 3 commits into
apache:masterfrom
shipra-a:SPARK-31973-shipra

Conversation

@shipra-a

Copy link
Copy Markdown

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.

@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

shipra-aand others added 2 commits June 30, 2021 17:55
Co-authored-by: Karuppayya Rajendran <karuppayya1990@gmail.com>
@shipra-a
shipra-aforce-pushed the SPARK-31973-shipra branch from 1ab98e5 to 0453804CompareJuly 1, 2021 01:00
@shipra-a
shipra-aforce-pushed the SPARK-31973-shipra branch from 0453804 to a7e97ddCompareJuly 1, 2021 01:21
@github-actions

Copy link
Copy Markdown

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!

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@shipra-a@AmplabJenkins