ClickHouse/tests/queries/0_stateless/02710_default_replicated_parameters.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
580 B
MySQL
Raw Normal View History

2023-04-22 01:52:13 +00:00
-- Tags: no-parallel
SET allow_experimental_database_replicated=1;
DROP DATABASE IF EXISTS replicated_database_params;
CREATE DATABASE replicated_database_params ENGINE = Replicated('some/path/' || currentDatabase() || '/replicated_database_params');
SHOW CREATE DATABASE replicated_database_params;
DROP DATABASE replicated_database_params;
CREATE DATABASE replicated_database_params ENGINE = Replicated('some/path/' || currentDatabase() || '/replicated_database_params', 'shard_1');
SHOW CREATE DATABASE replicated_database_params;
DROP DATABASE replicated_database_params;