Skip to content

OptimizeSubqueries Logical Optimization

OptimizeSubqueries is a base logical optimization that <>.

OptimizeSubqueries is part of the Subquery once-executed batch in the standard batches of the Logical Optimizer.

OptimizeSubqueries is simply a <> for transforming <>, i.e. Rule[LogicalPlan].

[source, scala]

// FIXME Demo

=== [[apply]] Executing Rule -- apply Method

[source, scala]

apply(plan: LogicalPlan): LogicalPlan

NOTE: apply is part of the <> to execute (apply) a rule on a <> (e.g. <>).