You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/04/08 11:04:13 UTC

[jira] [Assigned] (SPARK-6768) Do not support "float/double union decimal or decimal(a ,b) union decimal(c, d)"

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

Apache Spark reassigned SPARK-6768:
-----------------------------------

    Assignee:     (was: Apache Spark)

> Do not support "float/double union decimal or decimal(a ,b) union decimal(c, d)"
> --------------------------------------------------------------------------------
>
>                 Key: SPARK-6768
>                 URL: https://issues.apache.org/jira/browse/SPARK-6768
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: Zhongshuai Pei
>
> Do not support sql like that :
> select cast(12.2056999 as float) from testData limit 1
> union
> select cast(12.2041 as decimal(7, 4)) from testData limit 1
> select cast(12.2056999 as double) from testData limit 1
> union
> select cast(12.2041 as decimal(7, 4)) from testData limit 1
> select cast(1241.20 as decimal(6, 2)) from testData limit 1
> union
> select cast(1.204 as decimal(5, 3)) from testData limit 1



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