mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 12:01:58 +00:00
Add test for ROW POLICY ON CLUSTER
This commit is contained in:
parent
e33dc02c8c
commit
a1abf3202e
@ -0,0 +1,6 @@
|
||||
localhost 9000 0 0 0
|
||||
localhost 9000 0 0 0
|
||||
localhost 9000 0 0 0
|
||||
localhost 9000 0 0 0
|
||||
localhost 9000 0 0 0
|
||||
localhost 9000 0 0 0
|
10
tests/queries/0_stateless/02911_row_policy_on_cluster.sql
Normal file
10
tests/queries/0_stateless/02911_row_policy_on_cluster.sql
Normal file
@ -0,0 +1,10 @@
|
||||
-- Tags: no-parallel, zookeeper
|
||||
|
||||
DROP ROW POLICY IF EXISTS 02911_rowpolicy ON default.* ON CLUSTER default;
|
||||
DROP USER IF EXISTS 02911_user ON CLUSTER default;
|
||||
|
||||
CREATE USER 02911_user ON CLUSTER default;
|
||||
CREATE ROW POLICY 02911_rowpolicy ON CLUSTER default ON default.* USING 1 TO 02911_user;
|
||||
|
||||
DROP ROW POLICY 02911_rowpolicy ON default.* ON CLUSTER default;
|
||||
DROP USER 02911_user ON CLUSTER default;
|
Loading…
Reference in New Issue
Block a user