Uh oh!
There was an error while loading. Please reload this page.
[SPARK-2554][SQL] CountDistinct partial aggregation and object allocation improvements - #1935
[SPARK-2554][SQL] CountDistinct partial aggregation and object allocation improvements#1935marmbrus wants to merge 28 commits into
Conversation
SparkQA
commented
Aug 14, 2014
QA tests have started for PR 1935. This patch merges cleanly. |
SparkQA
commented
Aug 14, 2014
QA results for PR 1935: |
There was a problem hiding this comment.
Should we put a default value for currentValue? And then we can ignore the null checking in function eval and update
chenghao-intel
commented
Aug 14, 2014
Don't forget the Probably we can improve that in another PRs. |
SparkQA
commented
Aug 18, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 18, 2014
QA tests have finished for PR 1935 at commit
|
SparkQA
commented
Aug 18, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 18, 2014
QA tests have finished for PR 1935 at commit
|
SparkQA
commented
Aug 18, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 18, 2014
QA tests have finished for PR 1935 at commit
|
There was a problem hiding this comment.
Should be left.references ++ right.references or children.flatMap(_.references).toSet ?
ae8cb53 to
b2e8ef3CompareSparkQA
commented
Aug 20, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 20, 2014
QA tests have started for PR 1935 at commit
|
There was a problem hiding this comment.
I'm not sure, we will never put null into it though (we always put rows in, and furthermore count distinct semantics don't count null).
There was a problem hiding this comment.
maybe add the line there explaining we never put null into it. i think the open hash set doesn't support null.
There was a problem hiding this comment.
Actually I think most HashSets don't support null. scala.collection.mutable.HashSet throws an exception if you try to add null.
rxin
commented
Aug 20, 2014
Nice job. LGTM other than some comments. You probably want to remove WIP from the title. |
SparkQA
commented
Aug 20, 2014
QA tests have finished for PR 1935 at commit
|
SparkQA
commented
Aug 20, 2014
QA tests have finished for PR 1935 at commit
|
SparkQA
commented
Aug 20, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 21, 2014
QA tests have finished for PR 1935 at commit
|
SparkQA
commented
Aug 23, 2014
QA tests have started for PR 1935 at commit
|
SparkQA
commented
Aug 23, 2014
QA tests have finished for PR 1935 at commit
|
marmbrus
commented
Aug 23, 2014
Thanks for looking this over! I've merged to master and 1.1 |
…tion improvements Author: Michael Armbrust <michael@databricks.com> Author: Gregory Owen <greowen@gmail.com> Closes#1935 from marmbrus/countDistinctPartial and squashes the following commits: 5c7848d [Michael Armbrust] turn off caching in the constructor 8074a80 [Michael Armbrust] fix tests 32d216f [Michael Armbrust] reynolds comments c122cca [Michael Armbrust] Address comments, add tests b2e8ef3 [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial fae38f4 [Michael Armbrust] Fix style fdca896 [Michael Armbrust] cleanup 93d0f64 [Michael Armbrust] metastore concurrency fix. db44a30 [Michael Armbrust] JIT hax. 3868f6c [Michael Armbrust] Merge pull request #9 from GregOwen/countDistinctPartial c9e67de [Gregory Owen] Made SpecificRow and types serializable by Kryo 2b46c4b [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial 8ff6402 [Michael Armbrust] Add specific row. 58d15f1 [Michael Armbrust] disable codegen logging 87d101d [Michael Armbrust] Fix isNullAt bug abee26d [Michael Armbrust] WIP 27984d0 [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial 57ae3b1 [Michael Armbrust] Fix order dependent test b3d0f64 [Michael Armbrust] Add golden files. c1f7114 [Michael Armbrust] Improve tests / fix serialization. f31b8ad [Michael Armbrust] more fixes 38c7449 [Michael Armbrust] comments and style 9153652 [Michael Armbrust] better toString d494598 [Michael Armbrust] Fix tests now that the planner is better 41fbd1d [Michael Armbrust] Never try and create an empty hash set. 050bb97 [Michael Armbrust] Skip no-arg constructors for kryo, bd08239 [Michael Armbrust] WIP 213ada8 [Michael Armbrust] First draft of partially aggregated and code generated count distinct / max (cherry picked from commit 7e191fe) Signed-off-by: Michael Armbrust <michael@databricks.com>
…tion improvements Author: Michael Armbrust <michael@databricks.com> Author: Gregory Owen <greowen@gmail.com> Closesapache#1935 from marmbrus/countDistinctPartial and squashes the following commits: 5c7848d [Michael Armbrust] turn off caching in the constructor 8074a80 [Michael Armbrust] fix tests 32d216f [Michael Armbrust] reynolds comments c122cca [Michael Armbrust] Address comments, add tests b2e8ef3 [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial fae38f4 [Michael Armbrust] Fix style fdca896 [Michael Armbrust] cleanup 93d0f64 [Michael Armbrust] metastore concurrency fix. db44a30 [Michael Armbrust] JIT hax. 3868f6c [Michael Armbrust] Merge pull request apache#9 from GregOwen/countDistinctPartial c9e67de [Gregory Owen] Made SpecificRow and types serializable by Kryo 2b46c4b [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial 8ff6402 [Michael Armbrust] Add specific row. 58d15f1 [Michael Armbrust] disable codegen logging 87d101d [Michael Armbrust] Fix isNullAt bug abee26d [Michael Armbrust] WIP 27984d0 [Michael Armbrust] Merge remote-tracking branch 'origin/master' into countDistinctPartial 57ae3b1 [Michael Armbrust] Fix order dependent test b3d0f64 [Michael Armbrust] Add golden files. c1f7114 [Michael Armbrust] Improve tests / fix serialization. f31b8ad [Michael Armbrust] more fixes 38c7449 [Michael Armbrust] comments and style 9153652 [Michael Armbrust] better toString d494598 [Michael Armbrust] Fix tests now that the planner is better 41fbd1d [Michael Armbrust] Never try and create an empty hash set. 050bb97 [Michael Armbrust] Skip no-arg constructors for kryo, bd08239 [Michael Armbrust] WIP 213ada8 [Michael Armbrust] First draft of partially aggregated and code generated count distinct / max
No description provided.