Serge Rielau created SPARK-54883:
------------------------------------

             Summary: Make error  messages in CLI (spark-sql) more consistent
                 Key: SPARK-54883
                 URL: https://issues.apache.org/jira/browse/SPARK-54883
             Project: Spark
          Issue Type: Improvement
          Components: Spark Shell
    Affects Versions: 4.2.0
            Reporter: Serge Rielau


Currently the output of spark-sql is inconsistent in case of error conditions.
For example:
"SELECT c1" returns a clean error message

while
"SELECT 1/0" returns a very messy stack trace.

We want to preserve the ability return stack traces by adding a new DEBUG mode 
for error messages, while also improving consistency by not returning stack 
traces in PRETTY, unless we deal with an internal error. 



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to