Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.3.1, 1.4.0
    • 1.5.0
    • SQL
    • None

    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

          Activity

            yhuai Yin Huai added a comment -

            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.

            yhuai Yin Huai added a comment - 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 .
            apachespark Apache Spark added a comment -

            User 'yjshen' has created a pull request for this issue:
            https://github.com/apache/spark/pull/7667

            apachespark Apache Spark added a comment - User 'yjshen' has created a pull request for this issue: https://github.com/apache/spark/pull/7667

            Issue resolved by pull request 7667
            https://github.com/apache/spark/pull/7667

            marmbrus Michael Armbrust added a comment - Issue resolved by pull request 7667 https://github.com/apache/spark/pull/7667

            People

              yijieshen Yijie Shen
              yhuai Yin Huai
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: