[
https://issues.apache.org/jira/browse/CARBONDATA-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Venkata Ramana G resolved CARBONDATA-797.
-----------------------------------------
Resolution: Fixed
> 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
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> 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)