Github user omalley commented on a diff in the pull request:
--- Diff: java/core/src/java/org/apache/orc/impl/RecordReaderImpl.java ---
@@ -1168,8 +1193,9 @@ public OrcIndex readRowIndex(int stripeIndex,
sargColumns = sargColumns == null ?
(sargApp == null ? null : sargApp.sargColumns) : sargColumns;
- return dataReader.readRowIndex(stripe, stripeFooter, included,
+ return dataReader.readRowIndex(stripe, evolution.getFileType(0),
--- End diff --
Actually RecordReaderImpl.mapSargColumnsToOrcInternalColIdx already maps
column names to the physical file column ids. It handles ACID files by looking
for the field names in row field instead of the root. So at this level, it
should be consistently using the file id.
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket