dongjoon-hyun commented on code in PR #40589:
URL: https://github.com/apache/spark/pull/40589#discussion_r1154735386


##########
sql/core/src/main/scala/org/apache/spark/sql/SparkSessionExtensions.scala:
##########
@@ -166,6 +177,14 @@ class SparkSessionExtensions {
     runtimeOptimizerRules += builder
   }
 
+  /**
+   * Inject a rule that can override the query stage optimizer phase of 
adaptive query
+   * execution.
+   */
+  def injectQueryStageOptimizerRule(builder: QueryStagePrepRuleBuilder): Unit 
= {

Review Comment:
   Oh, this looks like a type of `QueryStageOptimizerRuleBuilder`. We need a 
builder of type `QueryStageOptimizerRuleBuilder` instead of 
`QueryStagePrepRuleBuilder` type, right?



-- 
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