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

Hyukjin Kwon commented on SPARK-29267:
--------------------------------------

Do you mean countApprox should fail by its timeout? {{timeout}} is the timeout 
for approximation.

> rdd.countApprox should stop when 'timeout'
> ------------------------------------------
>
>                 Key: SPARK-29267
>                 URL: https://issues.apache.org/jira/browse/SPARK-29267
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 2.4.4
>            Reporter: Kangtian
>            Priority: Minor
>
> {{The way to Approximate counting: org.apache.spark.rdd.RDD#countApprox}}
> +countApprox(timeout: Long, confidence: Double = 0.95)+
>  
> But: 
> when timeout comes, the job will continue run until really finish.
>  
> We Want:
> *When timeout comes, the job will finish{color:#FF0000} immediately{color}*, 
> without FinalValue
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to