ATTACH TABLE _ UUID 'b7d86b06-fe49-4660-a333-bc1af4c031bf'
(
    `timeseries_name` String,
    `timeseries_key` UInt64,
    `start_time` DateTime64(9, 'UTC'),
    `timestamp` DateTime64(9, 'UTC'),
    `datum` Nullable(Int64)
)
ENGINE = MergeTree
ORDER BY (timeseries_name, timeseries_key, start_time, timestamp)
TTL toDateTime(timestamp) + toIntervalDay(30)
SETTINGS index_granularity = 8192
