Allison Wang created SPARK-33539:
------------------------------------

             Summary: Standardize exception messages in Spark
                 Key: SPARK-33539
                 URL: https://issues.apache.org/jira/browse/SPARK-33539
             Project: Spark
          Issue Type: Improvement
          Components: Spark Core, SQL
    Affects Versions: 3.1.0
            Reporter: Allison Wang


In the SPIP: Standardize Exception Messages in Spark, we have proposed three 
major tasks to standardize exception messages in Spark:
 # Group error messages in dedicated files.
 # Establish an error message guideline for developers.
 # Improve error message quality.

The first step is to centralize error messages for each component into its own 
dedicated file(s). This change can help with auditing error messages and 
subsequent tasks to establish a guideline and improve message quality in the 
future. 

Here is an example RP to group all `AnalysisExcpetion` in Analyzer into 
QueryCompilationErrors:  [https://github.com/apache/spark/pull/29497] 

Please see the SPIP: 
https://docs.google.com/document/d/1XGj1o3xAFh8BA7RCn3DtwIPC6–hIFOaNUNSlpaOIZs/edit?usp=sharing
 for more details.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to