wForget commented on code in PR #7637:
URL: https://github.com/apache/kyuubi/pull/7637#discussion_r3829121887
##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule/config/AuthzConfigurationChecker.scala:
##########
@@ -30,6 +30,9 @@ import
org.apache.kyuubi.plugin.spark.authz.util.AuthZUtils.SKIP_CATALOGLESS_V2_
case class AuthzConfigurationChecker(spark: SparkSession) extends (LogicalPlan
=> Unit) {
final val RESTRICT_LIST_KEY = "spark.kyuubi.conf.restricted.list"
+ final val EXCLUDED_RULES_KEY = "spark.sql.optimizer.excludedRules"
+
+ final private val AUTHZ_RANGER_RULE_PACKAGE =
"org.apache.kyuubi.plugin.spark.authz.ranger"
Review Comment:
`org.apache.kyuubi.plugin.spark.authz.ranger` should be changed to
`org.apache.kyuubi.plugin.spark.authz`. Currently, most rules are located at
https://github.com/apache/kyuubi/tree/master/extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/rule
cc @cfmcgrady @pan3793
--
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]