Ajantha Bhat created CARBONDATA-3997:
----------------------------------------

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


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)

Reply via email to