[ 
https://issues.apache.org/jira/browse/ORC-600?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Norbert Luksa updated ORC-600:
------------------------------
    Labels: c++  (was: )

> 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
>            Priority: Major
>              Labels: c++
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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