ClickHouse/dbms/tests/queries/0_stateless/00933_alter_ttl.reference

6 lines
232 B
Plaintext
Raw Normal View History

2019-12-24 03:52:44 +00:00
CREATE TABLE default.ttl (`d` Date, `a` Int) 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
2019-12-24 03:52:44 +00:00
a Int d + toIntervalDay(1)