Fix privileges

This commit is contained in:
Denis Glazachev 2021-03-01 18:03:29 +04:00
parent eb80c189e4
commit 14513e520e

View File

@ -1,6 +1,7 @@
<test>
<create_query>DROP TABLE IF EXISTS test_prl;</create_query>
<create_query>CREATE TABLE test_prl (n UInt64) ENGINE MergeTree ORDER BY n;</create_query>
<create_query>GRANT CREATE ROW POLICY ON *.* TO CURRENT_USER</create_query>
<create_query>CREATE ROW POLICY OR REPLACE test_prl_policy ON test_prl AS PERMISSIVE FOR SELECT USING n % 7 TO ALL;</create_query>
<fill_query>INSERT INTO test_prl SELECT number FROM numbers(50000000);</fill_query>