mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 05:32:52 +00:00
9 lines
335 B
MySQL
9 lines
335 B
MySQL
|
drop table if exists max_parts_in_total;
|
||
|
create table max_parts_in_total (x UInt64) ENGINE = MergeTree PARTITION BY x ORDER BY x SETTINGS max_parts_in_total = 10;
|
||
|
|
||
|
INSERT INTO max_parts_in_total SELECT number FROM numbers(10);
|
||
|
SELECT 1;
|
||
|
INSERT INTO max_parts_in_total SELECT 123; -- { serverError 252 }
|
||
|
|
||
|
drop table max_parts_in_total;
|