diff options
author | ihainan <ihainan72@gmail.com> | 2015-08-30 08:26:14 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2015-08-30 08:26:14 +0100 |
commit | 1bfd9347822df65e76201c4c471a26488d722319 (patch) | |
tree | 44cbabe615ef4505f475c95b2908bdc91b248057 /dev/run-tests.py | |
parent | ca69fc8efda8a3e5442ffa16692a2b1eb86b7673 (diff) | |
download | spark-1bfd9347822df65e76201c4c471a26488d722319.tar.gz spark-1bfd9347822df65e76201c4c471a26488d722319.tar.bz2 spark-1bfd9347822df65e76201c4c471a26488d722319.zip |
[SPARK-10184] [CORE] Optimization for bounds determination in RangePartitioner
JIRA Issue: https://issues.apache.org/jira/browse/SPARK-10184
Change `cumWeight > target` to `cumWeight >= target` in `RangePartitioner.determineBounds` method to make the output partitions more balanced.
Author: ihainan <ihainan72@gmail.com>
Closes #8397 from ihainan/opt_for_rangepartitioner.
Diffstat (limited to 'dev/run-tests.py')
0 files changed, 0 insertions, 0 deletions