maropu commented on a change in pull request #29544:
URL: https://github.com/apache/spark/pull/29544#discussion_r478770188
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/rules/RuleExecutor.scala
##########
@@ -44,6 +44,71 @@ object RuleExecutor {
}
}
+class PlanChangeLogger[TreeType <: TreeNode[_]] extends Logging {
+
+ private val logLevel = SQLConf.get.optimizerPlanChangeLogLevel
+
+ private val logRules =
SQLConf.get.optimizerPlanChangeRules.map(Utils.stringToSeq)
+
+ private val logBatches =
SQLConf.get.optimizerPlanChangeBatches.map(Utils.stringToSeq)
Review comment:
Ah, okay.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]