ATTACH TABLE _ UUID 'bb7c5577-a810-475f-8a0d-9b3c91c70e87'
(
    `timeseries_name` String,
    `timeseries_key` UInt64,
    `timestamp` DateTime64(9, 'UTC'),
    `datum` Array(UInt8)
)
ENGINE = MergeTree
ORDER BY (timeseries_name, timeseries_key, timestamp)
TTL toDateTime(timestamp) + toIntervalDay(30)
SETTINGS index_granularity = 8192
