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


##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/SparkSessionProvider.scala:
##########
@@ -60,7 +60,7 @@ trait SparkSessionProvider {
       // Ensure HiveExternalCatalog.client.userName is defaultTableOwner
       UserGroupInformation.createRemoteUser(defaultTableOwner).doAs(
         new PrivilegedExceptionAction[Unit] {
-          override def run(): Unit = ret.catalog.listDatabases()
+          override def run(): Unit = ret.sql("SHOW DATABASES;").collect()

Review Comment:
   ```suggestion
             override def run(): Unit = ret.sql("SHOW DATABASES").collect()
   ```



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