package reuse
- Alphabetic
- Public
- Protected
Value Members
- 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.