Github user jinfengni commented on a diff in the pull request:
https://github.com/apache/drill/pull/637#discussion_r86487867
--- Diff:
exec/java-exec/src/main/java/org/apache/drill/exec/planner/PlannerPhase.java ---
@@ -346,6 +355,20 @@ static RuleSet getPruneScanRules(OptimizerRulesContext
optimizerRulesContext) {
}
/**
+ * Get an immutable list of partition pruning rules that will be used
in logical planning.
+ */
+ static RuleSet getPhysicalPruneScanRules(OptimizerRulesContext
optimizerRulesContext) {
+ final ImmutableSet<RelOptRule> pruneRules =
ImmutableSet.<RelOptRule>builder()
+ .add(
+
ParquetPushDownFilter.getFilterOnProject(optimizerRulesContext),
--- End diff --
Opened DRILL-4998, and put comments to explain why we put this rule in
physical planning phase.
---
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.
---