SimpleCostEvaluator¶
SimpleCostEvaluator is a CostEvaluator in Adaptive Query Execution.
Evaluating Cost¶
evaluateCost(
plan: SparkPlan): Cost
evaluateCost is part of the CostEvaluator abstraction.
evaluateCost counts the shuffle exchanges unary physical operators in the given SparkPlan.