From 17ce346cd0d5d235056f3e2fe358c47400487d3e Mon Sep 17 00:00:00 2001 From: zhangdong <493738387@qq.com> Date: Wed, 27 Mar 2024 11:53:43 +0800 Subject: [PATCH] 1 --- .../suites/account_p0/test_nereids_row_policy.groovy | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/regression-test/suites/account_p0/test_nereids_row_policy.groovy b/regression-test/suites/account_p0/test_nereids_row_policy.groovy index c071d88306c8fe..6ae858997b11a0 100644 --- a/regression-test/suites/account_p0/test_nereids_row_policy.groovy +++ b/regression-test/suites/account_p0/test_nereids_row_policy.groovy @@ -103,6 +103,11 @@ suite("test_nereids_row_policy") { sql """GRANT USAGE_PRIV ON CLUSTER ${validCluster} TO ${user}"""; } + dropPolciy "policy0" + dropPolciy "policy1" + dropPolciy "policy2" + dropPolciy "policy3" + // no policy assertQueryResult 3 @@ -126,4 +131,8 @@ suite("test_nereids_row_policy") { createPolicy"policy3", "k = 2", "PERMISSIVE" assertQueryResult 2 + dropPolciy "policy0" + dropPolciy "policy1" + dropPolciy "policy2" + dropPolciy "policy3" }