ClickHouse/tests/queries/0_stateless/00933_ttl_replicated_zookeeper.reference
Alexey Milovidov 94d55abfd1 Update tests
2020-06-15 07:40:03 +03:00

4 lines
251 B
Plaintext

200
400
CREATE TABLE test.ttl_repl2\n(\n `d` Date,\n `x` UInt32\n)\nENGINE = ReplicatedMergeTree(\'/clickhouse/tables/test/ttl_repl\', \'2\')\nPARTITION BY toDayOfMonth(d)\nORDER BY x\nTTL d + toIntervalDay(1)\nSETTINGS index_granularity = 8192