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:47:04 UTC
[jira] [Commented] (SPARK-8828) Revert the change of SPARK-5680
[ 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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org