maryannxue commented on a change in pull request #24136: [SPARK-27088][SQL]
Apply conf "spark.sql.optimizer.planChangeLog.leve…
URL: https://github.com/apache/spark/pull/24136#discussion_r267532846
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/optimizer/OptimizerLoggingSuite.scala
##########
@@ -145,4 +149,20 @@ class OptimizerLoggingSuite extends PlanTest {
}
}
}
+
+ test("test log batches which changes the plan") {
+ withSQLConf(
+ SQLConf.OPTIMIZER_PLAN_CHANGE_LOG_BATCHES.key -> "Optimizer Batch",
+ SQLConf.OPTIMIZER_PLAN_CHANGE_LOG_LEVEL.key -> "INFO") {
+ verifyLog(Level.INFO, Seq("Optimizer Batch"))
+ }
+ }
+
+ test("test log batches which does not changes the plan") {
Review comment:
nit: "does not changes" -> "do not change"
----------------------------------------------------------------
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]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]