1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-07-03 00:27:03 +02:00
Files
go-clickhouse/ch/testdata/snapshots/TestQuery-10

2 lines
205 B
Plaintext
Raw Permalink Normal View History

2022-01-23 09:36:24 +02:00
CREATE TABLE "spans" (id UInt64, text LowCardinality(String), time DateTime) Engine = MergeTree() PARTITION BY toDate(time) ORDER BY (id) TTL time + INTERVAL 30 DAY DELETE SETTINGS ttl_only_drop_parts = 1