Skip to content

AdaptiveRulesHolder

AdaptiveRulesHolder holds the user-defined adaptive query rules for a SessionState.

The user-defined AQE rules are defined using SparkSessionExtensions injections:

Creating Instance

AdaptiveRulesHolder takes the following to be created:

  • Adaptive Query Stage Preparation Rules
  • Adaptive Query Execution Runtime Optimizer Rules
  • Adaptive Query Stage Optimizer Rules
  • Adaptive Query Post Planner Strategy Rules

AdaptiveRulesHolder is created when: