[ https://issues.apache.org/jira/browse/HIVE-5762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848119#comment-13848119 ]
Eric Hanson commented on HIVE-5762: ----------------------------------- The above approach was getting to be quite complex. So instead I am now planning to use an array of Decimal128 objects (HIVE-6017) in the DecimalColumnVector. > 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 > Assignee: 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.4#6159)