ClickHouse/tests/queries/0_stateless/01925_broken_partition_id_zookeeper.sql

17 lines
448 B
MySQL
Raw Normal View History

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;
ALTER TABLE broken_partition DROP PARTITION ID '20210325_0_13241_6_12747'; --{serverError 248}
2021-07-29 12:33:28 +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;