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:29:01 UTC

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

Xuefu Zhang created HIVE-7149:
---------------------------------

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


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)