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-797) Data loss for BigInt datatype if data contains long max and min values
Date Mon, 20 Mar 2017 10:47:41 GMT
Manish Gupta created CARBONDATA-797:
---------------------------------------

             Summary: Data loss for BigInt datatype if data contains long max and min values
                 Key: CARBONDATA-797
                 URL: https://issues.apache.org/jira/browse/CARBONDATA-797
             Project: CarbonData
          Issue Type: Bug
            Reporter: Manish Gupta
            Assignee: Manish Gupta
             Fix For: 1.1.0-incubating


When data contains long max and min values for a measure column with bigInt datatype, the
delta compression selected is DATA_BYTE which is incorrect. For selecting the delta compression
min value is decremented from max value and here the min value is negative, so it performs
addition operation and goes out of long range. When a long value goes out of range it starts
again from the long max negative value which results in wrong compression selection.
This leads to data loss and incorrect query results.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message