ClickHouse/tests/queries/0_stateless/01070_alter_with_ttl.reference

3 lines
343 B
Plaintext
Raw Normal View History

2020-03-11 00:27:30 +00:00
CREATE TABLE default.alter_ttl (`i` Int32, `s` String TTL toDate(\'2020-01-01\')) ENGINE = MergeTree ORDER BY i TTL toDate(\'2020-05-05\') SETTINGS index_granularity = 8192
2020-01-23 13:11:06 +00:00
CREATE TABLE default.alter_ttl (`d` Date, `s` String TTL d + toIntervalDay(1)) ENGINE = MergeTree ORDER BY d TTL d + toIntervalMonth(1) SETTINGS index_granularity = 8192