Max Gekk created SPARK-42838:
--------------------------------

             Summary: Assing a name to the error class _LEGACY_ERROR_TEMP_2000
                 Key: SPARK-42838
                 URL: https://issues.apache.org/jira/browse/SPARK-42838
             Project: Spark
          Issue Type: Sub-task
          Components: SQL
    Affects Versions: 3.5.0
            Reporter: Max Gekk


Choose a proper name for the error class _LEGACY_ERROR_TEMP_2000 defined in 
{*}core/src/main/resources/error/error-classes.json{*}. The name should be 
short but complete (look at the example in error-classes.json).

Add a test which triggers the error from user code. Check exception field by 
using {*}checkError(){*}. The function checks valuable error fields only, and 
avoids dependencies from error text message. In this way, tech editors can 
modify error format in error-classes.json, and don't worry of Spark's internal 
tests.

 

Improve the error message format in error-classes.json if the current is not 
clear. Propose a solution to users how to avoid and fix such kind of errors.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to