[ 
https://issues.apache.org/jira/browse/SPARK-8828?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yin Huai updated SPARK-8828:
----------------------------
    Description: SPARK-5680 introduced a bug to sum function. After this 
change, when all input values are nulls, it returns 0.0 instead of null, which 
is wrong.  (was: 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.)

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