[
https://issues.apache.org/jira/browse/SPARK-2887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Patrick Wendell resolved SPARK-2887.
------------------------------------
Resolution: Fixed
> 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: [email protected]
For additional commands, e-mail: [email protected]