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 Fri, 30 May 2014 16:39:01 GMT

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

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

[~brocknoland] Would you mind taking a quick look at this? Thanks.

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