Skip to content

Commit

Permalink
[case](rowpolicy)fix row policy has been exist (apache#32880)
Browse files Browse the repository at this point in the history
  • Loading branch information
zddr committed Mar 28, 2024
1 parent 827d2c4 commit 6d35cb0
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -126,4 +131,8 @@ suite("test_nereids_row_policy") {
createPolicy"policy3", "k = 2", "PERMISSIVE"
assertQueryResult 2

dropPolciy "policy0"
dropPolciy "policy1"
dropPolciy "policy2"
dropPolciy "policy3"
}

0 comments on commit 6d35cb0

Please sign in to comment.