1
0
mirror of https://github.com/uptrace/go-clickhouse.git synced 2025-07-01 00:25:06 +02:00
Files
go-clickhouse/ch/testdata/snapshots/TestQuery-10
Vladimir Mihailenco 092a2dbf28 feat: initial commit
2022-03-21 08:58:25 +02:00

2 lines
205 B
Plaintext

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