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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
279 B
Plaintext
Raw Normal View History

2020-11-15 02:24:47 +00:00
CREATE TABLE default.ttl\n(\n `d` Date,\n `a` Int32\n)\nENGINE = MergeTree\nPARTITION BY toDayOfMonth(d)\nORDER BY a\nTTL d + toIntervalDay(1)\nSETTINGS remove_empty_parts = 0, index_granularity = 8192
2100-10-10 3
2100-10-10 4
d Date
a Int32 d + toIntervalDay(1)