[
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)