ATTACH TABLE _ UUID '7d808c8d-0a52-49c4-9887-b6dfed2d8e79'
(
    `timeseries_name` String,
    `timeseries_key` UInt64,
    `timestamp` DateTime64(9, 'UTC'),
    `datum` Nullable(Bool)
)
ENGINE = MergeTree
ORDER BY (timeseries_name, timeseries_key, timestamp)
TTL toDateTime(timestamp) + toIntervalDay(30)
SETTINGS index_granularity = 8192
