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

Cheng Pan resolved SPARK-58352.
-------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 57540
[https://github.com/apache/spark/pull/57540]

> Migrate _LEGACY_ERROR_TEMP_2070 to WRITING_JOB_FAILED
> -----------------------------------------------------
>
>                 Key: SPARK-58352
>                 URL: https://issues.apache.org/jira/browse/SPARK-58352
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> Migrates the legacy error class {{_LEGACY_ERROR_TEMP_2070}} to the structured 
> error
> framework
> This error ("Writing job failed.") is a {{SparkException}} thrown by
> {{{}QueryExecutionErrors.writingJobFailedError{}}}, raised by 
> {{WriteToDataSourceV2Exec}} when a
> DataSource V2 batch write fails and the subsequent {{abort()}} also fails 
> (the original
> cause is chained onto the exception).
>  * Introduces a new named structured condition {{WRITING_JOB_FAILED}} 
> (SQLSTATE {{{}58030{}}},
> matching the sibling {{{}TASK_WRITE_FAILED{}}}), keeping it parameterless and 
> preserving the
> chained {{{}cause{}}}.



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

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

Reply via email to