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 2015/08/19 23:33:45 UTC
[jira] [Resolved] (SPARK-10083) CaseWhen should support type
coercion of DecimalType and FractionalType
[ https://issues.apache.org/jira/browse/SPARK-10083?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Armbrust resolved SPARK-10083.
--------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Issue resolved by pull request 8270
[https://github.com/apache/spark/pull/8270]
> CaseWhen should support type coercion of DecimalType and FractionalType
> -----------------------------------------------------------------------
>
> Key: SPARK-10083
> URL: https://issues.apache.org/jira/browse/SPARK-10083
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Adrian Wang
> Fix For: 1.5.0
>
>
> create t1 (a decimal(7, 2), b long);
> select case when 1=1 then a else 1.0 end from t1;
> select case when 1=1 then a else b end from t1;
--
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