wForget commented on code in PR #4916:
URL: https://github.com/apache/kyuubi/pull/4916#discussion_r1356367918
##########
extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/IcebergCatalogPrivilegesBuilderSuite.scala:
##########
@@ -98,8 +115,20 @@ class IcebergCatalogPrivilegesBuilderSuite extends
V2CommandsPrivilegesSuite {
s"WHEN NOT MATCHED THEN INSERT *").queryExecution.analyzed
val (inputs, outputs, operationType) = PrivilegesBuilder.build(plan,
spark)
assert(operationType === QUERY)
- assert(inputs.size === 1)
- val po0 = inputs.head
+ if (isSparkV35OrGreater) {
Review Comment:
ditto
--
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]