Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-600

StringDictionaryColumnReader does not update index buffer correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0
    • None

    Description

      When we are scanning with StringDictionaryColumnReader an encoded batch, ORC crashes if we want to read more elements than the current capacity of the batch. It can occur eg. with string lists where it's possible that the offsets defined in the list overflows in the index buffer of the EncodedStringDictionaryBatch.
      To fix we only have to define a resize method for EncodedStringDictionaryBatch that also resizes the index buffer.

      Attachments

        Issue Links

          Activity

            People

              norbertluksa Norbert Luksa
              norbertluksa Norbert Luksa
              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