pavibhai commented on a change in pull request #668:
URL: https://github.com/apache/orc/pull/668#discussion_r641057361
##########
File path: java/core/src/java/org/apache/orc/impl/TreeReaderFactory.java
##########
@@ -189,12 +192,34 @@ public boolean useProlepticGregorian() {
public boolean fileUsedProlepticGregorian() {
return fileUsedProlepticGregorian;
}
+
+ @Override
+ public TypeReader.ReaderCategory getReaderCategory(int columnId) {
+ TypeReader.ReaderCategory result;
+ if (getColumnFilterCallback() == null ||
getColumnFilterIds().contains(columnId)) {
Review comment:
Good catch. I missed cleaning up this condition, I already inverted in
the previous commit that in the absence of filters we treat every column as
NON_FILTER. Am removing `getColumnFilterCallback() == null` condition.
--
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.
For queries about this service, please contact Infrastructure at:
[email protected]