This commit is contained in:
alesapin 2021-07-29 15:33:28 +03:00
parent 4a3ade1aa5
commit bb77342606
2 changed files with 16 additions and 0 deletions

View File

@ -0,0 +1,16 @@
DROP TABLE IF EXISTS broken_partition;
CREATE TABLE broken_partition
(
date Date,
key UInt64
)
ENGINE = ReplicatedMergeTree('/clickhouse/test_01925_{database}/rmt', 'r1')
ORDER BY tuple()
PARTITION BY date;
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747';
DROP TABLE IF EXISTS broken_partition;