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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: 2.0.3, 2.1.0
    • Component/s: SQL
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: