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/07/06 05:43:04 UTC

[jira] [Created] (SPARK-8828) Revert the change of SPARK-5680

Yin Huai created SPARK-8828:
-------------------------------

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