2021-10-29 16:47:57 +00:00
|
|
|
-- Tags: zookeeper, no-parallel
|
|
|
|
|
|
|
|
drop database if exists test_1164_memory;
|
|
|
|
create database test_1164_memory engine=Memory;
|
2021-10-29 16:58:42 +00:00
|
|
|
create table test_1164_memory.r1 (n int) engine=ReplicatedMergeTree('/test/01164/{database}/t', '1') order by n;
|
|
|
|
create table test_1164_memory.r2 (n int) engine=ReplicatedMergeTree('/test/01164/{database}/t', '2') order by n;
|
2021-10-29 16:47:57 +00:00
|
|
|
alter table test_1164_memory.r1 add column m int;
|
|
|
|
system sync replica test_1164_memory.r1;
|
|
|
|
system sync replica test_1164_memory.r2;
|
|
|
|
show create table test_1164_memory.r1;
|
|
|
|
show create table test_1164_memory.r1;
|
|
|
|
drop database test_1164_memory;
|