diff --git a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy index 8fc03a42312b2b..45796cad882f64 100644 --- a/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy +++ b/regression-test/suites/external_table_p0/tvf/test_s3_tvf_with_resource.groovy @@ -187,7 +187,6 @@ suite("test_s3_tvf_with_resource", "p0") { String viewName = "test_s3_tvf_with_resource_view" try_sql("DROP USER ${user}") sql """CREATE USER '${user}' IDENTIFIED BY '${pwd}'""" - sql """grant select_priv on ${db}.${viewName} to ${user}""" sql "drop view if exists ${viewName}" sql """ create view ${viewName} as @@ -198,7 +197,7 @@ suite("test_s3_tvf_with_resource", "p0") { "resource" = "${resource_name}" ) where k1 > 100 order by k3,k2,k1; """ - + sql """grant select_priv on ${db}.${viewName} to ${user}""" // not have usage priv, can not select tvf with resource connect(user=user, password="${pwd}", url=url) { sql """set enable_fallback_to_original_planner=false;"""