ATTACH TABLE _ UUID 'bc187a3c-2424-46e7-a42c-3e4dd3ff59f6'
(
    `timeseries_name` String,
    `timeseries_key` UInt64,
    `start_time` DateTime64(9, 'UTC'),
    `timestamp` DateTime64(9, 'UTC'),
    `datum` Nullable(Float32)
)
ENGINE = MergeTree
ORDER BY (timeseries_name, timeseries_key, start_time, timestamp)
TTL toDateTime(timestamp) + toIntervalDay(30)
SETTINGS index_granularity = 8192
