[ https://issues.apache.org/jira/browse/CARBONDATA-3997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kunal Kapoor resolved CARBONDATA-3997. -------------------------------------- Fix Version/s: 2.1.0 Resolution: Fixed > Issue in decimal value reading for negative numbers from presto > --------------------------------------------------------------- > > Key: CARBONDATA-3997 > URL: https://issues.apache.org/jira/browse/CARBONDATA-3997 > Project: CarbonData > Issue Type: Bug > Reporter: Ajantha Bhat > Assignee: Ajantha Bhat > Priority: Major > Fix For: 2.1.0 > > Time Spent: 2h 10m > Remaining Estimate: 0h > > When complex decimal column is stored with DIRECT_COMPRESS codec, > DataTypeUtil#bigDecimalToByte is used to create a byte array. > So, while decoding it, need to use DataTypeUtil#byteToBigDecimal to get back > the proper value -- This message was sent by Atlassian Jira (v8.3.4#803005)