[
https://issues.apache.org/jira/browse/SPARK-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-15557:
------------------------------------
Assignee: Apache Spark
> expression ((cast(99 as decimal) + '3') * '2.3' ) return null
> -------------------------------------------------------------
>
> Key: SPARK-15557
> URL: https://issues.apache.org/jira/browse/SPARK-15557
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Affects Versions: 1.6.1, 2.0.0
> Environment: spark1.6.1
> Reporter: cen yuhai
> Assignee: Apache Spark
>
> expression "select (cast(99 as decimal(19,6))+ '3')*'2.3' " will return null
> expression "select (cast(40 as decimal(19,6))+ '3')*'2.3' " is OK
> I find that maybe it will be null if the result is more than 100
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]