You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@orc.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2022/04/28 23:59:00 UTC

[jira] [Updated] (ORC-1160) [C++] RowReaderImpl::seekToRow() can't seek within a selected row group

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

Quanlong Huang updated ORC-1160:
--------------------------------
    Fix Version/s: 1.8.0

> [C++] RowReaderImpl::seekToRow() can't seek within a selected row group
> -----------------------------------------------------------------------
>
>                 Key: ORC-1160
>                 URL: https://issues.apache.org/jira/browse/ORC-1160
>             Project: ORC
>          Issue Type: Bug
>          Components: C++
>    Affects Versions: 1.7.0, 1.7.1, 1.7.2, 1.7.3, 1.7.4
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Blocker
>             Fix For: 1.8.0, 1.7.5
>
>
> RowReaderImpl::seekToRow() depends on startNextStripe() to seek to the start of the next selected row group when PPD is enabled. However, it doesn't seek inside the selected row group. In the case when the target rowNumber is not the first row of the row group, the seeked position is incorrect.
> Related codes:
> [https://github.com/apache/orc/blob/v1.7.4/c%2B%2B/src/Reader.cc#L351]
> [https://github.com/apache/orc/blob/v1.7.4/c%2B%2B/src/Reader.cc#L1045]
> We should either do the remaining seek in seekToRow() or startNextStripe().
>  



--
This message was sent by Atlassian Jira
(v8.20.7#820007)