You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2014/05/30 18:39:01 UTC

[jira] [Updated] (HIVE-7149) Parquet not able to handle negative decimal numbers

     [ https://issues.apache.org/jira/browse/HIVE-7149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xuefu Zhang updated HIVE-7149:
------------------------------

    Attachment: HIVE-7149.patch

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