MLikeWater commented on code in PR #2580:
URL: https://github.com/apache/incubator-kyuubi/pull/2580#discussion_r867301383
##########
extensions/spark/kyuubi-spark-authz/src/main/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RuleReplaceShowObjectCommands.scala:
##########
@@ -58,3 +60,28 @@ case class FilteredShowTablesCommand(delegated:
RunnableCommand)
override def withNewChildrenInternal(newChildren: IndexedSeq[LogicalPlan]):
LogicalPlan = this
}
+
+case class FilteredShowDatabasesCommand(delegated: ShowNamespaces) extends
RunnableCommand
+ with WithInternalChild {
+
+ override val output: Seq[Attribute] = delegated.output
+
+ override def run(spark: SparkSession): Seq[Row] = {
+ val catalog = spark.sessionState.catalog
Review Comment:
Thanks. Currently my testing is based on Hive Metadata, other data lake
components need to be tested. If you have time, help with the testing.
--
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]