Quanlong Huang created ORC-1160:
-----------------------------------
Summary: [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.4, 1.7.3, 1.7.2, 1.7.1, 1.7.0
Reporter: Quanlong Huang
Assignee: Quanlong Huang
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)