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

Yin Huai commented on SPARK-8828:
---------------------------------

We also need to take a look at if we need CombinSum (introduced by SPARK-5680). 
If not, we can also remove the change of 
https://issues.apache.org/jira/browse/SPARK-6451.

> Revert the change of SPARK-5680
> -------------------------------
>
>                 Key: SPARK-8828
>                 URL: https://issues.apache.org/jira/browse/SPARK-8828
>             Project: Spark
>          Issue Type: Bug
>    Affects Versions: 1.3.1, 1.4.0
>            Reporter: Yin Huai
>            Priority: Critical
>
> SPARK-5680 introduced a bug to sum function. After this change, when there is 
> no input to a sum function (or all input values are nulls), it returns 0.0 
> instead of null, which is wrong.



--
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