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

ASF GitHub Bot commented on ORC-49:
-----------------------------------

GitHub user omalley opened a pull request:

    https://github.com/apache/orc/pull/257

    ORC-49. Create RLE-based encoding for short decimals in ORCv2.

    Create the first pass of the new decimal encoding for ORCv2. For small 
decimals, it uses RLEv2 and the old format for long decimals.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/omalley/orc orc-49

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/orc/pull/257.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #257
    
----
commit 0f50ad4a22e19ee06a97b6289a01dbc5671268c5
Author: Owen O'Malley <omalley@...>
Date:   2018-04-27T05:13:26Z

    ORC-49. Create RLE-based encoding for short decimals in ORCv2.

----


> Improve decimal encoding to use RLE
> -----------------------------------
>
>                 Key: ORC-49
>                 URL: https://issues.apache.org/jira/browse/ORC-49
>             Project: ORC
>          Issue Type: Sub-task
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>            Priority: Major
>
> Because decimal was added in Hive 0.11 with no maximum precision, the ORC 
> encoding for decimal uses arbitrary var ints. Since Hive 0.12, the maximum 
> precision for decimals fits in 128 bits and thus we can use a much better 
> encoding using the long rle.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to