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