From b3c059af9c39f24605f9e9a1bfa6fab1949cac50 Mon Sep 17 00:00:00 2001 From: Angerszhuuuu Date: Sat, 14 Oct 2023 12:51:54 +0800 Subject: [PATCH] Update HudiCatalogRangerSparkExtensionSuite.scala --- .../authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala index e3f6f860018..8fcae6cf941 100644 --- a/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala +++ b/extensions/spark/kyuubi-spark-authz/src/test/scala/org/apache/kyuubi/plugin/spark/authz/ranger/HudiCatalogRangerSparkExtensionSuite.scala @@ -126,7 +126,7 @@ class HudiCatalogRangerSparkExtensionSuite extends RangerSparkExtensionSuite { sql("set hoodie.schema.on.read.enable=true") interceptContains[AccessControlException]( doAs(someone, sql(s"ALTER TABLE $namespace1.$table1 ADD COLUMNS(age int)")))( - s"does not have [select] privilege on [$namespace1/$table1]") + s"does not have [alter] privilege on [$namespace1/$table1]") } } }