pan3793 commented on code in PR #7555:
URL: https://github.com/apache/kyuubi/pull/7555#discussion_r3600043689


##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RangerSparkExtensionSuite.scala:
##########
@@ -168,6 +207,20 @@ abstract class RangerSparkExtensionSuite extends 
AnyFunSuite
     assert(logicalPlan.getTagValue(KYUUBI_AUTHZ_TAG).nonEmpty)
   }
 
+  test("[KYUUBI #2470] RuleAuthorization: trace successful and failed 
privilege checks") {
+    val successPlan = spark.sessionState.sqlParser.parsePlan("SHOW TABLES")
+    withPerfLogAppender { appender =>

Review Comment:
   can you reuse the `withLogAppender` defined at `KyuubiFunSuite`?



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