Github user amansinha100 commented on a diff in the pull request:
https://github.com/apache/drill/pull/637#discussion_r86372508
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/store/parquet/ParquetGroupScan.java
---
@@ -1000,6 +1053,81 @@ public long getColumnValueCount(SchemaPath column) {
@Override
public List<SchemaPath> getPartitionColumns() {
- return new ArrayList<>(columnTypeMap.keySet());
+ return new ArrayList<>(partitionColTypeMap.keySet());
}
+
+ public GroupScan applyFilter(LogicalExpression filterExpr, UdfUtilities
udfUtilities,
+ FunctionImplementationRegistry functionImplementationRegistry,
OptionManager optionManager) {
+ if (fileSet.size() == 1 || ! (parquetTableMetadata instanceof
Metadata.ParquetTableMetadata_v3)) {
--- End diff --
For the version check can we have a isComptabile() method defined in the
Metadata class instead of doing the instanceof ?
---
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 [email protected] or file a JIRA ticket
with INFRA.
---