CREATE TABLE IF NOT EXISTS histograms (
key_date Date,
tag String,
ts Int64,
category String,
cnt Int64)
ENGINE = ReplicatedMergeTree('/clickhouse/tables/01/histograms', '{dc_name}', key_date, tag, (tag, ts), 8192)