You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Owen O'Malley (JIRA)" <ji...@apache.org> on 2015/08/05 18:22:04 UTC

[jira] [Resolved] (ORC-24) C++ reader for direct string encodings occasionally skips bytes

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

Owen O'Malley resolved ORC-24.
------------------------------
    Resolution: Fixed

I committed this. Thanks for the review, Aliaksei!

> C++ reader for direct string encodings occasionally skips bytes 
> ----------------------------------------------------------------
>
>                 Key: ORC-24
>                 URL: https://issues.apache.org/jira/browse/ORC-24
>             Project: Orc
>          Issue Type: Bug
>          Components: C++
>            Reporter: Owen O'Malley
>            Assignee: Owen O'Malley
>             Fix For: 1.0.0
>
>         Attachments: ORC-24.patch
>
>
> The ORC C++ direct string column reader can occasionally skip bytes in the blob stream.
> The necessary conditions are:
> * The column is a string column and is directly encoded.
> * The blob stream for the row batch crosses a compression block boundary.
> * There is a null value toward the end of the block boundary.
> * The value in the length value of the null value crosses the block boundary, but the length value of the following value does not.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)