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

Cheng Pan reassigned SPARK-58351:
---------------------------------

    Assignee: Xiao Li

> Migrate _LEGACY_ERROR_TEMP_3014 to EMPTY_COLLECTION_NOT_ALLOWED
> ---------------------------------------------------------------
>
>                 Key: SPARK-58351
>                 URL: https://issues.apache.org/jira/browse/SPARK-58351
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.2.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>            Priority: Major
>              Labels: pull-request-available
>
> Migrates the legacy error class {{_LEGACY_ERROR_TEMP_3014}} to the structured 
> error
> framework
> This error ("empty collection") is a {{SparkUnsupportedOperationException}} 
> thrown by
> {{{}SparkCoreErrors.emptyCollectionError{}}}, raised by RDD 
> reduce/first-style operations on an
> empty RDD ({{{}RDD.scala{}}}), and re-thrown from {{SafeSparkUDFRunner}} when 
> a reduce UDF
> receives no input rows.
>  * Introduces a new named structured condition 
> {{EMPTY_COLLECTION_NOT_ALLOWED}}
> (SQLSTATE {{{}0A000{}}}), keeping the message text ("empty collection") and 
> parameterless
> shape unchanged.



--
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