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
    • None

    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:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: