2021-07-29 12:33:28 +00:00
|
|
|
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;
|
|
|
|
|
2021-07-29 13:11:05 +00:00
|
|
|
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747'; --{serverError 248}
|
2021-07-29 12:33:28 +00:00
|
|
|
|
2021-07-29 13:11:05 +00:00
|
|
|
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747'; --{serverError 248}
|
2021-07-29 12:33:28 +00:00
|
|
|
|
|
|
|
DROP TABLE IF EXISTS broken_partition;
|
2021-08-06 18:03:38 +00:00
|
|
|
|
|
|
|
DROP TABLE IF EXISTS old_partition_key;
|
|
|
|
|
|
|
|
CREATE TABLE old_partition_key (sd Date, dh UInt64, ak UInt32, ed Date) ENGINE=MergeTree(sd, dh, (ak, ed, dh), 8192);
|
|
|
|
|
|
|
|
ALTER TABLE old_partition_key DROP PARTITION ID '20210325_0_13241_6_12747'; --{serverError 248}
|
|
|
|
|
|
|
|
ALTER TABLE old_partition_key DROP PARTITION ID '202103';
|
|
|
|
|
|
|
|
DROP TABLE old_partition_key;
|