Sean created SPARK-23642:
----------------------------

             Summary: isZero scaladoc for LongAccumulator describes wrong method
                 Key: SPARK-23642
                 URL: https://issues.apache.org/jira/browse/SPARK-23642
             Project: Spark
          Issue Type: Documentation
          Components: Documentation
    Affects Versions: 2.3.0
            Reporter: Sean


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to