You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/04/21 23:14:00 UTC

[jira] [Commented] (SPARK-38985) Support sub-error-class for UNSUPPORTED_FEATURE et al

    [ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org