diff options
author | Sameer Agarwal <sameer@databricks.com> | 2016-04-21 16:00:59 -0700 |
---|---|---|
committer | Reynold Xin <rxin@databricks.com> | 2016-04-21 16:00:59 -0700 |
commit | f82aa82480d95451510ee7a74c52e83e98c8b794 (patch) | |
tree | 4fbb47feb8e96b517c07fceafcef20d268624285 /R | |
parent | 1a95397bb6a4e7e7a06ac450bf556fa3aa47b8cd (diff) | |
download | spark-f82aa82480d95451510ee7a74c52e83e98c8b794.tar.gz spark-f82aa82480d95451510ee7a74c52e83e98c8b794.tar.bz2 spark-f82aa82480d95451510ee7a74c52e83e98c8b794.zip |
[SPARK-14774][SQL] Write unscaled values in ColumnVector.putDecimal
## What changes were proposed in this pull request?
We recently made `ColumnarBatch.row` mutable and added a new `ColumnVector.putDecimal` method to support putting `Decimal` values in the `ColumnarBatch`. This unfortunately introduced a bug wherein we were not updating the vector with the proper unscaled values.
## How was this patch tested?
This codepath is hit only when the vectorized aggregate hashmap is enabled. https://github.com/apache/spark/pull/12440 makes sure that a number of regression tests/benchmarks test this bugfix.
Author: Sameer Agarwal <sameer@databricks.com>
Closes #12541 from sameeragarwal/fix-bigdecimal.
Diffstat (limited to 'R')
0 files changed, 0 insertions, 0 deletions