From 6d35cb01bb20ccf55169aa5a26121030befea011 Mon Sep 17 00:00:00 2001 From: zhangdong <493738387@qq.com> Date: Thu, 28 Mar 2024 14:52:00 +0800 Subject: [PATCH] [case](rowpolicy)fix row policy has been exist (#32880) --- .../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" }