You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Yin Huai (JIRA)" <ji...@apache.org> on 2015/08/26 00:21:46 UTC

[jira] [Resolved] (SPARK-10215) Div of Decimal returns null

     [ 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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org