You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Sean (JIRA)" <ji...@apache.org> on 2018/03/09 22:26:00 UTC

[jira] [Created] (SPARK-23642) isZero scaladoc for LongAccumulator describes wrong method

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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org