[ 
https://issues.apache.org/jira/browse/SPARK-10215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14711327#comment-14711327
 ] 

Yi Zhou commented on SPARK-10215:
---------------------------------

This issue cause cases which is relative to 'decimal' type  to fail , so 
hopefully it can be fixed in Spark 1.5.0.
Thanks in advance !

> 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
>
> {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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to