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

Sean Owen updated SPARK-10083:
------------------------------
    Assignee: Adrian Wang

> 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
>            Assignee: 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to