[
https://issues.apache.org/jira/browse/SPARK-15557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15304782#comment-15304782
]
Dilip Biswal edited comment on SPARK-15557 at 5/27/16 9:09 PM:
---------------------------------------------------------------
I am looking into this issue. I am testing a fix currently.
was (Author: dkbiswal):
I am looking into this issue.
> 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
>
> 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]