diff options
author | Reynold Xin <rxin@databricks.com> | 2016-05-02 21:12:48 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-05-02 21:12:48 -0700 |
commit | bb9ab56b960153d374d7e8838f62a18e7e45481e (patch) | |
tree | f24cadbd8818550f4a5ecb31fb3d406e7fce5e6b /external | |
parent | 8028f3a0b4003af15ed44d9ef4727b56f4b10534 (diff) | |
download | spark-bb9ab56b960153d374d7e8838f62a18e7e45481e.tar.gz spark-bb9ab56b960153d374d7e8838f62a18e7e45481e.tar.bz2 spark-bb9ab56b960153d374d7e8838f62a18e7e45481e.zip |
[SPARK-15079] Support average/count/sum in Long/DoubleAccumulator
## What changes were proposed in this pull request?
This patch removes AverageAccumulator and adds the ability to compute average to LongAccumulator and DoubleAccumulator. The patch also improves documentation for the two accumulators.
## How was this patch tested?
Added unit tests for this.
Author: Reynold Xin <rxin@databricks.com>
Closes #12858 from rxin/SPARK-15079.
Diffstat (limited to 'external')
0 files changed, 0 insertions, 0 deletions