JingsongLi commented on code in PR #6198:
URL: https://github.com/apache/paimon/pull/6198#discussion_r2321344948
##########
paimon-format/src/main/java/org/apache/parquet/hadoop/ParquetFileReader.java:
##########
@@ -813,11 +814,17 @@ private RowRanges calculateRowRanges(int blockIndex) {
RowRanges rowRanges = RowRanges.createSingle(block.getRowCount());
if (selection != null) {
ColumnIndexStore store = getColumnIndexStore(blockIndex);
- List<OffsetIndex> offsets =
- paths.keySet().stream()
- .map(store::getOffsetIndex)
Review Comment:
When there is no column index in it, the partition will invalidate all
column indices (see getColumnIndexStore), so the safety here is that only after
filtering will it enter this method.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]