Details
Description
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().
Attachments
Issue Links
- blocks
-
ORC-1159 [C++] Crash when the last stripe is skipped
- Closed
- links to