You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yesheng Ma (Jira)" <ji...@apache.org> on 2021/01/11 23:41:00 UTC

[jira] [Commented] (SPARK-34078) Provide async variants for Dataset APIs

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

Yesheng Ma commented on SPARK-34078:
------------------------------------

[~cloud_fan] [~smilegator] Could you shed some light on this as I'm preparing a draft diff?

> Provide async variants for Dataset APIs
> ---------------------------------------
>
>                 Key: SPARK-34078
>                 URL: https://issues.apache.org/jira/browse/SPARK-34078
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.0.1
>            Reporter: Yesheng Ma
>            Priority: Major
>
> Spark RDDs have async variants such as `collectAsync`, which comes handy when we want to cancel a job. However, Dataset APIs are lacking such APIs, which makes it very painful to cancel a Dataset/SQL job.
>  
> The proposed change was to add async variants so that we can directly cancel a Dataset/SQL query via a future programmatically.



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

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