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

Returned Message Null when Hitting an Invocation Exception of Function Lookup.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0, 2.1.0
    • 2.0.3, 2.1.0
    • SQL
    • None

    Description

      When the exception is an invocation exception during function lookup, we return a useless/confusing error message:

      For example,

            df.selectExpr("format_string()")
      

      or

            df.selectExpr("concat_ws()")
      

      Below is the error message we got:

      null; line 1 pos 0
      org.apache.spark.sql.AnalysisException: null; line 1 pos 0
      

      Attachments

        Activity

          People

            smilegator Xiao Li
            smilegator Xiao Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: