maryannxue commented on a change in pull request #24055: [SPARK-26820][SQL]
Prints log messages when hints ignored in the analyzer
URL: https://github.com/apache/spark/pull/24055#discussion_r335201850
##########
File path:
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/ResolveHintsSuite.scala
##########
@@ -155,4 +160,47 @@ class ResolveHintsSuite extends AnalysisTest {
UnresolvedHint("REPARTITION", Seq(Literal(true)), table("TaBlE")),
Seq(errMsgRepa))
}
+
+ private def withLogLevel(logLevel: String)(f: => Unit): String = {
Review comment:
Can we reuse `SparkFunSuite.withLogAppender`?
----------------------------------------------------------------
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]