hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prasanth J (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5994) ORC RLEv2 encodes wrongly for large negative BIGINTs (64 bits )
Date Tue, 18 Feb 2014 20:22:21 GMT

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

Prasanth J commented on HIVE-5994:
----------------------------------

Hi Puneeth

I don't seem to reproduce your issue. Can you post the exact 10 rows that you are writing?

> ORC RLEv2 encodes wrongly for large negative BIGINTs  (64 bits )
> ----------------------------------------------------------------
>
>                 Key: HIVE-5994
>                 URL: https://issues.apache.org/jira/browse/HIVE-5994
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.13.0
>            Reporter: Prasanth J
>            Assignee: Prasanth J
>              Labels: orcfile
>             Fix For: 0.13.0
>
>         Attachments: HIVE-5994.1.patch
>
>
> For large negative BIGINTs, zigzag encoding will yield large value (64bit value) with
MSB set to 1. This value is interpreted as negative value in SerializationUtils.findClosestNumBits(long
value) function. This resulted in wrong computation of total number of bits required which
results in wrong encoding/decoding of values.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message