Norbert Luksa created ORC-600:
---------------------------------

             Summary: StringDictionaryColumnReader does not update index buffer 
correctly
                 Key: ORC-600
                 URL: https://issues.apache.org/jira/browse/ORC-600
             Project: ORC
          Issue Type: Bug
            Reporter: Norbert Luksa


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.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to