diff options
author | Tejas Patil <tejasp@fb.com> | 2017-03-06 10:16:20 -0800 |
---|---|---|
committer | Wenchen Fan <wenchen@databricks.com> | 2017-03-06 10:16:20 -0800 |
commit | 2a0bc867a4a1dad4ecac47701199e540d345ff4f (patch) | |
tree | 649c56d710dfa9c4b5cf6ba7cedc8bcba4c7d268 /sql/hive/src | |
parent | 207067ead6db6dc87b0d144a658e2564e3280a89 (diff) | |
download | spark-2a0bc867a4a1dad4ecac47701199e540d345ff4f.tar.gz spark-2a0bc867a4a1dad4ecac47701199e540d345ff4f.tar.bz2 spark-2a0bc867a4a1dad4ecac47701199e540d345ff4f.zip |
[SPARK-17495][SQL] Support Decimal type in Hive-hash
## What changes were proposed in this pull request?
Hive hash to support Decimal datatype. [Hive internally normalises decimals](https://github.com/apache/hive/blob/4ba713ccd85c3706d195aeef9476e6e6363f1c21/storage-api/src/java/org/apache/hadoop/hive/common/type/HiveDecimalV1.java#L307) and I have ported that logic as-is to HiveHash.
## How was this patch tested?
Added unit tests
Author: Tejas Patil <tejasp@fb.com>
Closes #17056 from tejasapatil/SPARK-17495_decimal.
Diffstat (limited to 'sql/hive/src')
0 files changed, 0 insertions, 0 deletions