Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-33752

Avoid the getSimpleMessage of AnalysisException adds semicolon repeatedly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.1.0
    • SQL

    Description

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

      select decode()
      

      The output will be:

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

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            beliefer Jiaan Geng
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: