[
https://issues.apache.org/jira/browse/SPARK-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Davies Liu resolved SPARK-15557.
--------------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 13368
[https://github.com/apache/spark/pull/13368]
> 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
> Fix For: 2.0.0
>
>
> 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]