You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Reynold Xin (JIRA)" <ji...@apache.org> on 2016/07/19 17:28:21 UTC

[jira] [Resolved] (SPARK-16602) Spark2.0-error occurs when execute the sql statement which includes "nvl" function while spark1.6 supports

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

Reynold Xin resolved SPARK-16602.
---------------------------------
       Resolution: Fixed
         Assignee: Dongjoon Hyun
    Fix Version/s: 2.0.0

> Spark2.0-error occurs when execute the sql statement which includes "nvl" function while spark1.6 supports
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-16602
>                 URL: https://issues.apache.org/jira/browse/SPARK-16602
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>    Affects Versions: 2.0.0
>            Reporter: marymwu
>            Assignee: Dongjoon Hyun
>             Fix For: 2.0.0
>
>
> Spark2.0-error occurs when execute the sql statement which includes "nvl" function while spark1.6 supports
> Error: org.apache.spark.sql.AnalysisException: cannot resolve 'nvl(b.`new_user`, 0)' due to data type mismatch: input to function coalesce should all be the same type, but it's [string, int]; line 2 pos 73 (state=,code=0)



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