mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-21 09:10:48 +00:00
Fix test
This commit is contained in:
parent
6c1e0e3df8
commit
581bfa4253
@ -1,6 +1,6 @@
|
||||
DROP TABLE IF EXISTS optimize_final;
|
||||
|
||||
CREATE TABLE optimize_final(t DateTime, x Int32) ENGINE = MergeTree() PARTITION BY toYYYYMM(t) ORDER BY x;
|
||||
CREATE TABLE optimize_final(t DateTime, x Int32) ENGINE = MergeTree() PARTITION BY toYYYYMM(t) ORDER BY x SETTINGS optimize_skip_merged_partitions=1;
|
||||
|
||||
INSERT INTO optimize_final SELECT toDate('2000-01-01'), number FROM numbers(5);
|
||||
INSERT INTO optimize_final SELECT toDate('2000-01-01'), number + 5 FROM numbers(5);
|
||||
|
Loading…
Reference in New Issue
Block a user