You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/09/10 19:47:34 UTC
[jira] [Resolved] (SPARK-3362) [SQL] bug in CaseWhen resolve
[ https://issues.apache.org/jira/browse/SPARK-3362?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-3362.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.0
Assignee: Adrian Wang
> [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
> Assignee: Adrian Wang
> Fix For: 1.2.0
>
>
> 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