Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.02 KB

spark-sql-SparkStrategy.adoc

File metadata and controls

27 lines (19 loc) · 1.02 KB

SparkStrategy — Base for Execution Planning Strategies

SparkStrategy is a Catalyst GenericStrategy that converts a logical plan into zero or more physical plans.

SparkStrategy marks logical plans (i.e. LogicalPlan) to be planned later (by some other SparkStrategy or after other SparkStrategy strategies have finished) using PlanLater physical operator.

planLater(plan: LogicalPlan): SparkPlan = PlanLater(plan)
Note

SparkStrategy is used as Strategy type alias (aka type synonym) in Spark’s code base that is defined in org.apache.spark.sql package object, i.e.

type Strategy = SparkStrategy

PlanLater Physical Operator

Caution
FIXME