You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2020/12/11 07:05:00 UTC

[jira] [Created] (SPARK-33752) Avoid the getSimpleMessage of AnalysisException add semicolon repeatedly

jiaan.geng created SPARK-33752:
----------------------------------

             Summary: Avoid the getSimpleMessage of AnalysisException add semicolon repeatedly
                 Key: SPARK-33752
                 URL: https://issues.apache.org/jira/browse/SPARK-33752
             Project: Spark
          Issue Type: Bug
          Components: SQL
    Affects Versions: 3.2.0
            Reporter: jiaan.geng


The current getSimpleMessage of AnalysisException may adds semicolon repeatedly. There show an example below:

{code:java}
select decode()
{code}
The output will be:

{code:java}
org.apache.spark.sql.AnalysisException
Invalid number of arguments for function decode. Expected: 2; Found: 0;; line 1 pos 7
{code}




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

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