ClickHouse/tests/queries/0_stateless/01126_month_partitioning_consistent_code.sql
2022-06-23 11:24:54 +02:00

6 lines
198 B
SQL

DROP TABLE IF EXISTS mt;
set allow_deprecated_syntax_for_merge_tree=1;
CREATE TABLE mt (d Date, x UInt8) ENGINE = MergeTree(d, x, 8192);
INSERT INTO mt VALUES (52392, 1), (62677, 2);
DROP TABLE mt;