[ 
https://issues.apache.org/jira/browse/SPARK-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14088814#comment-14088814
 ] 

Patrick Wendell commented on SPARK-2887:
----------------------------------------

I merged this into 1.1 - [~davies] could you submit a PR for 1.0 and/or 0.9? It 
didn't merge cleanly into those branches.

> RDD.countApproxDistinct() is wrong when RDD has more one partition
> ------------------------------------------------------------------
>
>                 Key: SPARK-2887
>                 URL: https://issues.apache.org/jira/browse/SPARK-2887
>             Project: Spark
>          Issue Type: Bug
>          Components: Spark Core
>    Affects Versions: 0.9.1, 1.0.0, 1.0.2
>            Reporter: Davies Liu
>            Assignee: Davies Liu
>            Priority: Blocker
>             Fix For: 1.1.0
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> scala> sc.makeRDD(1 to 1000, 10).countApproxDistinct(0.01)
> res0: Long = 101



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to