Packages

package reuse

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. Protected

Value Members

  1. case object ReuseExchangeAndSubquery extends Rule[SparkPlan] with Product with Serializable

    Find out duplicated exchanges and subqueries in the whole spark plan including subqueries, then use the same exchange or subquery for all the references.

    Find out duplicated exchanges and subqueries in the whole spark plan including subqueries, then use the same exchange or subquery for all the references.

    Note that the Spark plan is a mutually recursive data structure: SparkPlan -> Expr -> Subquery -> SparkPlan -> Expr -> Subquery -> ... Therefore, in this rule, we recursively rewrite the exchanges and subqueries in a bottom-up way, in one go.

Ungrouped