[ 
https://issues.apache.org/jira/browse/HIVE-11209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14637099#comment-14637099
 ] 

Owen O'Malley commented on HIVE-11209:
--------------------------------------

For most types, it would be a problem. With decimal, we are doing so many 
allocations in the inner loop that this won't be noticeable. We really need to 
fix or even better reimplement the Decimal128 to get good performance on 
decimal columns.

If you really want me to fix this instance, how about a thread local. Hive's 
over use of static caches has been a huge source of problems.

> 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
>             Fix For: 2.0.0
>
>         Attachments: HIVE-11209.patch, HIVE-11209.patch, HIVE-11209.patch, 
> 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)

Reply via email to