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

[jira] [Resolved] (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:all-tabpanel ]

Wenchen Fan resolved SPARK-38985.
---------------------------------
    Fix Version/s: 3.4.0
       Resolution: Fixed

Issue resolved by pull request 36307
[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
>            Assignee: Serge Rielau
>            Priority: Major
>             Fix For: 3.4.0
>
>
> 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