You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Allison Wang (Jira)" <ji...@apache.org> on 2023/10/03 20:46:00 UTC

[jira] [Updated] (SPARK-45401) Add a new method `cleanup` in UDTF interface

     [ https://issues.apache.org/jira/browse/SPARK-45401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Allison Wang updated SPARK-45401:
---------------------------------
    Summary: Add a new method `cleanup` in UDTF interface  (was: Execute `terminate` only when all `eval` calls succeed)

> Add a new method `cleanup` in UDTF interface
> --------------------------------------------
>
>                 Key: SPARK-45401
>                 URL: https://issues.apache.org/jira/browse/SPARK-45401
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>    Affects Versions: 3.5.0, 4.0.0
>            Reporter: Allison Wang
>            Priority: Major
>
> Currently, the `terminate` method of a UDTF will always be executed, regardless of whether the eval method calls succeed or not. This is problematic.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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