Skip to content

[SPARK-2887] fix bug of countApproxDistinct() when have more than one partition #1812

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 1 commit into from

Conversation

davies
Copy link
Contributor

@davies davies commented Aug 6, 2014

fix bug of countApproxDistinct() when have more than one partition

@davies
Copy link
Contributor Author

davies commented Aug 6, 2014

cc @mateiz

@mateiz
Copy link
Contributor

mateiz commented Aug 7, 2014

Hah, pretty crazy! Glad you caught that.

@mateiz
Copy link
Contributor

mateiz commented Aug 7, 2014

Jenkins, add to whitelist and test this please

@pwendell
Copy link
Contributor

pwendell commented Aug 7, 2014

Jenkins, test this please.

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA tests have started for PR 1812. This patch merges cleanly.
View progress: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18094/consoleFull

@SparkQA
Copy link

SparkQA commented Aug 7, 2014

QA results for PR 1812:
- This patch PASSES unit tests.
- This patch merges cleanly
- This patch adds no public classes

For more information see test ouptut:
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/18094/consoleFull

@mateiz
Copy link
Contributor

mateiz commented Aug 7, 2014

Thanks, going to merge this.

@asfgit asfgit closed this in ffd1f59 Aug 7, 2014
asfgit pushed a commit that referenced this pull request Aug 7, 2014
… partition

fix bug of countApproxDistinct() when have more than one partition

Author: Davies Liu <davies.liu@gmail.com>

Closes #1812 from davies/approx and squashes the following commits:

bf757ce [Davies Liu] fix bug of countApproxDistinct() when have more than one partition
(cherry picked from commit ffd1f59)

Signed-off-by: Patrick Wendell <pwendell@gmail.com>
@pwendell
Copy link
Contributor

pwendell commented Aug 7, 2014

Merged into master and 1.1. @davies mind submitting a PR for 1.0 and 0.9? This doesn't merge cleanly into those ATM.

@@ -1004,7 +1004,7 @@ abstract class RDD[T: ClassTag](
},
(h1: HyperLogLogPlus, h2: HyperLogLogPlus) => {
h1.addAll(h2)
h2
h1
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah can't believe I missed that

@davies davies deleted the approx branch August 22, 2014 05:14
xiliu82 pushed a commit to xiliu82/spark that referenced this pull request Sep 4, 2014
… partition

fix bug of countApproxDistinct() when have more than one partition

Author: Davies Liu <davies.liu@gmail.com>

Closes apache#1812 from davies/approx and squashes the following commits:

bf757ce [Davies Liu] fix bug of countApproxDistinct() when have more than one partition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants