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

4 lines
257 B
Plaintext
Raw Normal View History

200
400
2020-08-26 17:45:20 +00:00
CREATE TABLE test.ttl_repl2\n(\n `d` Date,\n `x` UInt32\n)\nENGINE = ReplicatedMergeTree(\'/clickhouse/tables/test_00933/ttl_repl\', \'2\')\nPARTITION BY toDayOfMonth(d)\nORDER BY x\nTTL d + toIntervalDay(1)\nSETTINGS index_granularity = 8192