[
https://issues.apache.org/jira/browse/SPARK-34078?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17267260#comment-17267260
]
Wenchen Fan commented on SPARK-34078:
-------------------------------------
I think it's a good idea and we can probably follow some streaming APIs. It
will also be interesting to think about how this can be done in SQL.
> 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: [email protected]
For additional commands, e-mail: [email protected]