mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-10 08:22:00 +00:00
12 lines
568 B
SQL
12 lines
568 B
SQL
-- Tags: no-parallel, zookeeper, no-replicated-database
|
|
-- Tag no-replicated-database: distributed_ddl_output_mode is none
|
|
|
|
DROP ROW POLICY IF EXISTS 02911_rowpolicy ON default.* ON CLUSTER test_shard_localhost;
|
|
DROP USER IF EXISTS 02911_user ON CLUSTER test_shard_localhost;
|
|
|
|
CREATE USER 02911_user ON CLUSTER test_shard_localhost;
|
|
CREATE ROW POLICY 02911_rowpolicy ON CLUSTER test_shard_localhost ON default.* USING 1 TO 02911_user;
|
|
|
|
DROP ROW POLICY 02911_rowpolicy ON default.* ON CLUSTER test_shard_localhost;
|
|
DROP USER 02911_user ON CLUSTER test_shard_localhost;
|