Uploaded image for project: 'CarbonData'
  1. CarbonData
  2. CARBONDATA-3997

Issue in decimal value reading for negative numbers from presto

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.1.0
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            Ajantha_Bhat Ajantha Bhat
            Ajantha_Bhat Ajantha Bhat
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2.5h
                2.5h