ATTACH TABLE _ UUID 'e4f3e737-b026-427e-aedc-10c893b2f340'
(
    `timeseries_name` String,
    `timeseries_key` UInt64,
    `timestamp` DateTime64(9, 'UTC'),
    `datum` Nullable(String)
)
ENGINE = MergeTree
ORDER BY (timeseries_name, timeseries_key, timestamp)
TTL toDateTime(timestamp) + toIntervalDay(30)
SETTINGS index_granularity = 8192
