mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-23 16:12:01 +00:00
97f2a2213e
* Move some code outside dbms/src folder * Fix paths
6 lines
236 B
Plaintext
6 lines
236 B
Plaintext
CREATE TABLE default.ttl (`d` Date, `a` Int32) ENGINE = MergeTree PARTITION BY toDayOfMonth(d) ORDER BY a TTL d + toIntervalDay(1) SETTINGS index_granularity = 8192
|
|
2100-10-10 3
|
|
2100-10-10 4
|
|
d Date
|
|
a Int32 d + toIntervalDay(1)
|