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

Apache Spark commented on SPARK-38985:
--------------------------------------

User 'srielau' has created a pull request for this issue:
https://github.com/apache/spark/pull/36307

> Support sub-error-class for UNSUPPORTED_FEATURE et al
> -----------------------------------------------------
>
>                 Key: SPARK-38985
>                 URL: https://issues.apache.org/jira/browse/SPARK-38985
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.3.0
>            Reporter: Serge Rielau
>            Priority: Major
>
> Some error classes like "unsupported feature" or "unsupported operation" 
> require a lot of variation n free text which cannot be parameterized easily.
> There are two choices:
>  * Add a distinct error-class for each situation, which mean a lot of error 
> classes, some of which with a short lifespan
>  * Add sub-error classes which can be used to pick the right message for each 
> situation.
>  
> sub-error-classes need only be locally unique.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to