[
https://issues.apache.org/jira/browse/HIVE-11209?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Owen O'Malley updated HIVE-11209:
---------------------------------
Attachment: HIVE-11209.patch
This patch moves the needed enforcePrecisionScale down into HiveDecimal and
HiveDecimalWritable. It moves HiveDecimalWritable.setFromBytes and
writeToByteStream up to where they are needed. It also deletes the variant of
writeToByteStream for Decimal128 that was never called.
> Clean up dependencies in HiveDecimalWritable
> --------------------------------------------
>
> Key: HIVE-11209
> URL: https://issues.apache.org/jira/browse/HIVE-11209
> Project: Hive
> Issue Type: Sub-task
> Reporter: Owen O'Malley
> Assignee: Owen O'Malley
> Attachments: HIVE-11209.patch
>
>
> Currently HiveDecimalWritable depends on:
> * org.apache.hadoop.hive.serde2.ByteStream
> * org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryUtils
> * org.apache.hadoop.hive.serde2.typeinfo.HiveDecimalUtils
> since we need HiveDecimalWritable for the decimal VectorizedColumnBatch,
> breaking these dependencies will improve things.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)