tprelle commented on code in PR #4257:
URL: https://github.com/apache/kyuubi/pull/4257#discussion_r1097398056
##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/V2CommandsPrivilegesSuite.scala:
##########
@@ -515,6 +515,26 @@ abstract class V2CommandsPrivilegesSuite extends
PrivilegesBuilderSuite {
assert(accessType === AccessType.UPDATE)
}
+ test("DescribeTable") {
+ assume(!isSparkV2)
+
+ val plan = executePlan(s"DESCRIBE TABLE $catalogTable").analyzed
+ val (inputs, outputs, operationType) = PrivilegesBuilder.build(plan, spark)
+ assert(operationType === DESCTABLE)
+ assert(inputs.isEmpty)
+ assert(outputs.size === 1)
+ val po = outputs.head
Review Comment:
thanks for the review, ok i change to have the same behavior than
DescribeTableCommand
--
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]