mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 08:40:50 +00:00
some tests delete empty parts instantly
This commit is contained in:
parent
95045c6738
commit
9c76161c06
@ -1,6 +1,6 @@
|
||||
DROP TABLE IF EXISTS mt_01451;
|
||||
|
||||
CREATE TABLE mt_01451 (v UInt8) ENGINE = MergeTree() order by tuple();
|
||||
CREATE TABLE mt_01451 (v UInt8) ENGINE = MergeTree() order by tuple() SETTINGS old_parts_lifetime=0;
|
||||
SYSTEM STOP MERGES mt_01451;
|
||||
|
||||
INSERT INTO mt_01451 VALUES (0);
|
||||
|
@ -15,6 +15,7 @@ ${CLICKHOUSE_CLIENT} -q '
|
||||
)
|
||||
ENGINE = MergeTree
|
||||
ORDER BY key
|
||||
SETTINGS old_parts_lifetime=0
|
||||
'
|
||||
|
||||
${CLICKHOUSE_CLIENT} -q 'INSERT INTO table_with_single_pk SELECT number, toString(number % 10) FROM numbers(1000000)'
|
||||
|
Loading…
Reference in New Issue
Block a user