Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-23642

isZero scaladoc for LongAccumulator describes wrong method

    XMLWordPrintableJSON

Details

    Description

      Method isZero is described in the scaladoc as "Adds v to the accumulator, i.e. increment sum by v and count by 1." when in fact it checks to see if it is zero.

      Pull request https://github.com/apache/spark/pull/20790 fixes.

      Attachments

        Activity

          People

            Mallory Sean
            Mallory Sean
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: