ATTACH TABLE _ UUID 'e94a4439-39b4-4dd5-860b-062275a1c628'
(
    `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
