mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Update 01149_zookeeper_mutation_stuck_after_replace_partition.sql
This commit is contained in:
parent
0de6e90a34
commit
ea98d9ef89
@ -4,7 +4,7 @@ drop table if exists rmt sync;
|
||||
create table mt (n UInt64, s String) engine = MergeTree partition by intDiv(n, 10) order by n;
|
||||
insert into mt values (3, '3'), (4, '4');
|
||||
|
||||
create table rmt (n UInt64, s String) engine = ReplicatedMergeTree('/clickhouse/test_01149/rmt', 'r1') partition by intDiv(n, 10) order by n;
|
||||
create table rmt (n UInt64, s String) engine = ReplicatedMergeTree('/clickhouse/test_01149_{database}/rmt', 'r1') partition by intDiv(n, 10) order by n;
|
||||
insert into rmt values (1,'1'), (2, '2');
|
||||
|
||||
select * from rmt;
|
||||
@ -27,7 +27,7 @@ select * from rmt;
|
||||
drop table rmt sync;
|
||||
|
||||
set replication_alter_partitions_sync=0;
|
||||
create table rmt (n UInt64, s String) engine = ReplicatedMergeTree('/clickhouse/test_01149/rmt', 'r1') partition by intDiv(n, 10) order by n;
|
||||
create table rmt (n UInt64, s String) engine = ReplicatedMergeTree('/clickhouse/test_01149_{database}/rmt', 'r1') partition by intDiv(n, 10) order by n;
|
||||
insert into rmt values (1,'1'), (2, '2');
|
||||
|
||||
alter table rmt update s = 's'||toString(n) where 1;
|
||||
|
Loading…
Reference in New Issue
Block a user