You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/RangerSparkExtensionSuite.scala
+1-5Lines changed: 1 addition & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -587,11 +587,7 @@ class HiveCatalogRangerSparkExtensionSuite extends RangerSparkExtensionSuite {
587
587
588
588
vale2= intercept[AccessControlException](
589
589
doAs(someone, sql(s"CREATE VIEW $permView AS SELECT * FROM $table")))
590
-
if (isSparkV32OrGreater) {
591
-
assert(e2.getMessage.contains(s"does not have [select] privilege on [default/$table/id]"))
592
-
} else {
593
-
assert(e2.getMessage.contains(s"does not have [select] privilege on [$table]"))
594
-
}
590
+
assert(e2.getMessage.contains(s"does not have [select] privilege on [default/$table/id]"))
0 commit comments