[
https://issues.apache.org/jira/browse/HIVE-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13839190#comment-13839190
]
Eric Hanson commented on HIVE-5762:
-----------------------------------
If dealing with the sign/carry bits is too difficult with 2 arrays of long, an
alternative would be to use 4 arrays of int.
> Implement vectorized support for the DECIMAL data type
> ------------------------------------------------------
>
> Key: HIVE-5762
> URL: https://issues.apache.org/jira/browse/HIVE-5762
> Project: Hive
> Issue Type: Sub-task
> Reporter: Eric Hanson
>
> Add support to allow queries referencing DECIMAL columns and expression
> results to run efficiently in vectorized mode. Include unit tests and
> end-to-end tests.
> Before starting or at least going very far, please write design specification
> (a new section for the design spec attached to HIVE-4160) for how support for
> the different DECIMAL types should work in vectorized mode, and the roadmap,
> and have it reviewed.
> It may be feasible to re-use LongColumnVector and related VectorExpression
> classes for fixed-point decimal in certain data ranges. That should be at
> least considered to get faster performance and save code. For unlimited
> precision DECIMAL, a new column vector subtype may be needed, or a
> BytesColumnVector could be re-used.
--
This message was sent by Atlassian JIRA
(v6.1#6144)