cloud-fan commented on code in PR #36011:
URL: https://github.com/apache/spark/pull/36011#discussion_r844606200


##########
sql/core/src/main/scala/org/apache/spark/sql/execution/adaptive/AQEOptimizer.scala:
##########
@@ -41,8 +43,8 @@ class AQEOptimizer(conf: SQLConf) extends 
RuleExecutor[LogicalPlan] {
       UpdateAttributeNullability),
     Batch("Dynamic Join Selection", Once, DynamicJoinSelection),
     Batch("Eliminate Limits", fixedPoint, EliminateLimits),
-    Batch("Optimize One Row Plan", fixedPoint, OptimizeOneRowPlan)
-  )
+    Batch("Optimize One Row Plan", fixedPoint, OptimizeOneRowPlan)) :+
+    Batch("User Provided Runtime Optimizers", fixedPoint, 
extendedRuntimeOptimizationRules: _*)

Review Comment:
   ```suggestion
       Batch("User Provided Runtime Optimizer Rules", fixedPoint, 
extendedRuntimeOptimizationRules: _*)
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to