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.
Attachments
Issue Links
- is broken by
-
SPARK-5680 Sum function on all null values, should return zero
- Resolved
- links to
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.