[ https://issues.apache.org/jira/browse/SPARK-23642?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hyukjin Kwon resolved SPARK-23642. ---------------------------------- Resolution: Fixed Assignee: Sean Fix Version/s: 2.4.0 2.3.1 Fixed in https://github.com/apache/spark/pull/20790 > 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 > Assignee: Sean > Priority: Minor > Labels: pull-request-available > Fix For: 2.3.1, 2.4.0 > > > 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-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org