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

inverted index cannot work with adaptive encoding

    XMLWordPrintableJSON

Details

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

    Description

      After PR #3638, Inverted index cannot work with adaptive encoding.

      two issues are present

      a) For Byte (Not DirectByteBuffer), Encoded column page has wrong result, as position() is used instead of limit()

      b) For short (DirectByteBuffer), result.array() will fail as it is unsupported for direct byte buffer.

       

      Solution :

      1) for problem a) use limit()

      2) for problem b) write byte by byte. 

       

       

      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 - 20m
                20m