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 2015/08/18 10:59:45 UTC

[jira] [Created] (SPARK-10083) CaseWhen should support type coercion of DecimalType and FractionalType

Adrian Wang created SPARK-10083:
-----------------------------------

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


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