From 65e48663e7b6c891f35a4f01c8122f7630fad757 Mon Sep 17 00:00:00 2001 From: Azat Khuzhin Date: Tue, 11 Aug 2020 08:10:00 +0300 Subject: [PATCH] Drop policy on start in 01308_row_policy_and_trivial_count_query --- .../0_stateless/01308_row_policy_and_trivial_count_query.sql | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/queries/0_stateless/01308_row_policy_and_trivial_count_query.sql b/tests/queries/0_stateless/01308_row_policy_and_trivial_count_query.sql index c105885cb60..cd41bb227eb 100644 --- a/tests/queries/0_stateless/01308_row_policy_and_trivial_count_query.sql +++ b/tests/queries/0_stateless/01308_row_policy_and_trivial_count_query.sql @@ -4,6 +4,7 @@ CREATE TABLE t (x UInt8) ENGINE = MergeTree ORDER BY x; INSERT INTO t VALUES (1), (2), (3); SELECT count() FROM t; +DROP ROW POLICY IF EXISTS filter ON t; CREATE ROW POLICY filter ON t USING (x % 2 = 1) TO ALL; SELECT count() FROM t; DROP ROW POLICY filter ON t;