hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-7149) Parquet not able to handle negative decimal numbers
Date Sun, 01 Jun 2014 14:30:02 GMT

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

Xuefu Zhang commented on HIVE-7149:
-----------------------------------

None of above test failures seems related to the patch. Patch committed to trunk. Thanks to
Brock for the review.

> Parquet not able to handle negative decimal numbers
> ---------------------------------------------------
>
>                 Key: HIVE-7149
>                 URL: https://issues.apache.org/jira/browse/HIVE-7149
>             Project: Hive
>          Issue Type: Bug
>          Components: Serializers/Deserializers
>    Affects Versions: 0.14.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.14.0
>
>         Attachments: HIVE-7149.patch
>
>
> Because of storing decimal numbers as fixed length bytes, Parquet Serde pads leading
zeros for decimal numbers that has less bytes representation. This works fine for positive
decimals, but messes up with negative ones, for which, leading 1 bits are needed.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message