hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gopal V (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17266) DecimalColumnVector64: Scaled fixed point column vector format
Date Thu, 17 Aug 2017 22:47:00 GMT

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

Gopal V commented on HIVE-17266:
--------------------------------

{code}
+  public Decimal64ColumnVector() {
+    this(VectorizedRowBatch.DEFAULT_SIZE, 38, 10);
+  }
{code}

>From a quick look, I think (38,10) won't be supported by this column type at all.

> DecimalColumnVector64: Scaled fixed point column vector format
> --------------------------------------------------------------
>
>                 Key: HIVE-17266
>                 URL: https://issues.apache.org/jira/browse/HIVE-17266
>             Project: Hive
>          Issue Type: New Feature
>          Components: storage-api
>    Affects Versions: 3.0.0
>            Reporter: Gopal V
>            Assignee: Owen O'Malley
>         Attachments: HIVE-17266.patch
>
>
> I think we should make a new type that looks like:
> class Decimal64ColumnVector extends ColumnVector {
>   long[] vector;
>   int precision;
>   int scale;
> }
> It will be extremely fast and provide a fast conduit to ORC.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message