Skip to content

PushDownPredicates Logical Optimization

PushDownPredicates is a logical optimization (of the Logical Optimizer and the SparkOptimizer).

PushDownPredicates is a Catalyst rule for transforming logical plans (Rule[LogicalPlan]).

Creating Instance

PushDownPredicates takes no arguments to be created (and is a Scala object).

Executing Rule

apply(
  plan: LogicalPlan): LogicalPlan

apply requests the given LogicalPlan to transformWithPruning operators with FILTER or JOIN tree patterns.

apply...FIXME (migrate PushDownPredicate logical optimization)

apply is part of the Rule abstraction.