spark-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Holden Karau <>
Subject Re: AccumulatorV2 += operator
Date Tue, 02 Aug 2016 21:52:52 GMT
I believe it was intentional with the idea that it would be more unified
between Java and Scala APIs. If your talking about the javadoc mention in - I believe the += is
meant to refer to what the internal implementation of the add function can
be for someone extending the accumulator (but it certainly could cause

Reynold can provide a more definitive answer in this case.

On Tue, Aug 2, 2016 at 1:46 PM, Bryan Cutler <> wrote:

> It seems like the += operator is missing from the new accumulator API,
> although the docs still make reference to it.  Anyone know if it was
> intentionally not put in?  I'm happy to do a PR for it or update the docs
> to just use the add() method, just want to check if there was some reason
> first.
> Bryan

Cell : 425-233-8271

View raw message