diff options
author | Liang-Chi Hsieh <viirya@gmail.com> | 2015-07-14 14:19:27 -0700 |
---|---|---|
committer | Yin Huai <yhuai@databricks.com> | 2015-07-14 14:19:27 -0700 |
commit | 4b5cfc988f23988c2334882a255d494fc93d252e (patch) | |
tree | 5d6c7c4f8527771e50a0ad3496ab99e255f607c7 /.gitignore | |
parent | fb1d06fc242ec00320f1a3049673fbb03c4a6eb9 (diff) | |
download | spark-4b5cfc988f23988c2334882a255d494fc93d252e.tar.gz spark-4b5cfc988f23988c2334882a255d494fc93d252e.tar.bz2 spark-4b5cfc988f23988c2334882a255d494fc93d252e.zip |
[SPARK-8800] [SQL] Fix inaccurate precision/scale of Decimal division operation
JIRA: https://issues.apache.org/jira/browse/SPARK-8800
Previously, we turn to Java BigDecimal's divide with specified ROUNDING_MODE to avoid non-terminating decimal expansion problem. However, as JihongMA reported, for the division operation on some specific values, we get inaccurate results.
Author: Liang-Chi Hsieh <viirya@gmail.com>
Closes #7212 from viirya/fix_decimal4 and squashes the following commits:
4205a0a [Liang-Chi Hsieh] Fix inaccuracy precision/scale of Decimal division operation.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions