You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Gopal V (JIRA)" <ji...@apache.org> on 2017/08/17 22:47:00 UTC

[jira] [Commented] (HIVE-17266) DecimalColumnVector64: Scaled fixed point column vector format

    [ 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)