OptimizeSubqueries Logical Optimization
OptimizeSubqueries is a base logical optimization that FIXME.
OptimizeSubqueries is part of the Subquery once-executed batch in the standard batches of the Catalyst Optimizer.
OptimizeSubqueries is simply a Catalyst rule for transforming logical plans, i.e. Rule[LogicalPlan].
|
1 2 3 4 5 |
// FIXME Demo |
Executing Rule — apply Method
|
1 2 3 4 5 |
apply(plan: LogicalPlan): LogicalPlan |
|
Note
|
apply is part of the Rule Contract to execute (apply) a rule on a TreeNode (e.g. LogicalPlan).
|
apply…FIXME
spark技术分享