[
https://issues.apache.org/jira/browse/SPARK-10215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yin Huai resolved SPARK-10215.
------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Issue resolved by pull request 8415
[https://github.com/apache/spark/pull/8415]
> Div of Decimal returns null
> ---------------------------
>
> Key: SPARK-10215
> URL: https://issues.apache.org/jira/browse/SPARK-10215
> Project: Spark
> Issue Type: Bug
> Components: SQL
> Reporter: Cheng Hao
> Priority: Blocker
> Fix For: 1.5.0
>
>
> {code}
> val d = Decimal(1.12321)
> val df = Seq((d, 1)).toDF("a", "b")
> df.selectExpr("b * a / b").collect() => Array(Row(null))
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]