You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2016/11/14 06:38:58 UTC

[jira] [Updated] (SPARK-18430) Returned Message Null when Hitting an Invocation Exception of Function Lookup.

     [ https://issues.apache.org/jira/browse/SPARK-18430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xiao Li updated SPARK-18430:
----------------------------
    Description: 
When the exception is an invocation exception during function lookup, we return a useless/confusing error message:

For example, 
{code}
      df.selectExpr("format_string()")
{code}
or 
{code}
      df.selectExpr("concat_ws()")
{code}

Below is the error message we got:
{code}
null; line 1 pos 0
org.apache.spark.sql.AnalysisException: null; line 1 pos 0
{code}

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

For example, 
{code}
      df.selectExpr("format_string()")
{code}
or 
{code}
      df.selectExpr("concat_ws()")
{code}

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


> Returned Message Null when Hitting an Invocation Exception of Function Lookup.
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-18430
>                 URL: https://issues.apache.org/jira/browse/SPARK-18430
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0, 2.1.0
>            Reporter: Xiao Li
>            Assignee: Xiao Li
>
> When the exception is an invocation exception during function lookup, we return a useless/confusing error message:
> For example, 
> {code}
>       df.selectExpr("format_string()")
> {code}
> or 
> {code}
>       df.selectExpr("concat_ws()")
> {code}
> Below is the error message we got:
> {code}
> null; line 1 pos 0
> org.apache.spark.sql.AnalysisException: null; line 1 pos 0
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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