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

[SPARK-8160][SPARK-9240][SQL]Support hybrid aggregate using external sorting when memory is not enough #7827

Closed
wants to merge 1 commit into from

Conversation

lianhuiwang
Copy link
Contributor

according to UnsafeFixedWidthAggregationMap, this PR implement external aggregation when each task has no enough memory. firstly when memory is not enough it spills BytesToBytesMap to disk. when inserting is finished, merge in-memory map and disk's spill files and return final aggregation value of each key.

@SparkQA
Copy link

SparkQA commented Jul 31, 2015

Test build #39214 has finished for PR 7827 at commit 08023a7.

  • This patch fails RAT tests.
  • This patch does not merge cleanly.
  • This patch adds no public classes.

@rxin
Copy link
Contributor

rxin commented Aug 2, 2015

@lianhuiwang I'm creating a sequence of new pull requests based on ideas from your patch here.

@JoshRosen
Copy link
Contributor

Hey @lianhuiwang, I think that this patch has been subsumed by #7813 and the other subtasks linked against https://issues.apache.org/jira/browse/SPARK-8160, so do you mind closing this PR? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants