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

Davies Liu commented on SPARK-2887:
-----------------------------------

Yes, it only happens in master and 1.1, thanks.

> 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: 1.1.0
>            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