You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Adrian Wang (JIRA)" <ji...@apache.org> on 2014/09/03 06:16:52 UTC

[jira] [Updated] (SPARK-3362) [SQL] bug in CaseWhen resolve

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

Adrian Wang updated SPARK-3362:
-------------------------------
    Component/s: SQL

> [SQL] bug in CaseWhen resolve
> -----------------------------
>
>                 Key: SPARK-3362
>                 URL: https://issues.apache.org/jira/browse/SPARK-3362
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Adrian Wang
>
> select case x when 0 then null else y/x end from t;
> will lead to an match error in toHiveString() when output, because spark would consider the output is always NullType, which is not right.



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