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/06/09 01:41:00 UTC

[jira] [Resolved] (SPARK-39349) Add a CheckError() method to SparkFunSuite

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

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

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

> Add a CheckError() method to SparkFunSuite
> ------------------------------------------
>
>                 Key: SPARK-39349
>                 URL: https://issues.apache.org/jira/browse/SPARK-39349
>             Project: Spark
>          Issue Type: Improvement
>          Components: Spark Core
>    Affects Versions: 3.3.1
>            Reporter: Serge Rielau
>            Assignee: Serge Rielau
>            Priority: Major
>             Fix For: 3.4.0
>
>
> We want to standardize on a generic way to QA error messages without impeding the ability to enhance/rework error messages.
> CheckError() allows for efficient asserting on the "payload":
>  * Errorclass, subclass
>  * SQLState
>  * Parameters (both names and values)
>  
> It does not test the actual English text. Which is the feature



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