mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
CLICKHOUSE-3839 add tests
This commit is contained in:
parent
10ab9587a2
commit
cc50e810fc
@ -0,0 +1,4 @@
|
||||
197004
|
||||
197007
|
||||
197010
|
||||
|
@ -0,0 +1,10 @@
|
||||
DROP TABLE IF EXISTS test.partition_id;
|
||||
|
||||
CREATE TABLE IF NOT EXISTS test.partition_id (d Date DEFAULT '2000-01-01', x UInt64) ENGINE = MergeTree(d, x, 5);
|
||||
|
||||
INSERT INTO test.partition_id VALUES (100, 1), (200, 2), (300, 3);
|
||||
|
||||
SELECT _partition_id FROM test.partition_id ORDER BY x;
|
||||
|
||||
DROP TABLE IF EXISTS test.partition_id;
|
||||
|
Loading…
Reference in New Issue
Block a user