carbondata-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manish Gupta (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CARBONDATA-1429) Add a value based compression for decimal data type when decimal is stored as Int or Long
Date Tue, 29 Aug 2017 11:34:00 GMT
Manish Gupta created CARBONDATA-1429:
----------------------------------------

             Summary: Add a value based compression for decimal data type when decimal is
stored as Int or Long
                 Key: CARBONDATA-1429
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-1429
             Project: CarbonData
          Issue Type: Improvement
            Reporter: Manish Gupta
            Assignee: Manish Gupta
            Priority: Minor


Added a value based compression for decimal data type when decimal is stored as Int or Long

When decimal precision is <= 9, decimal values are stored in 4 bytes but they are not compressed
further based on min and max values as compared with other primitive data type compression.
Therefore now based on min and max value decimal data falling in Integer range will be further
compressed as byte or short.
When decimal precision is <= 18, decimal values are stored in 8 bytes but they are not
compressed further based on min and max values as compared with other primitive data type
compression. Therefore now based on min and max value decimal data falling in Long range will
be further compressed as byte, short or int.
Advantage: This will reduce the storage space thereby decreasing the IO time while reading
and decompressing the data.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message