NP
Size: a a a
NP
R
R
AL
A
ENGINE = ReplicatedMergeTree('/clickhouse/tables/{shard}/internal_logs', '{replica}')эту строку заменить на:
ENGINE = MergeTree()
NP
AV
requests.post(addr, params={'query': sql_1 + ' FORMAT JSON'}).json()['data']
VB
ЕА
S
МЮ
ДУ
ДУ
S
МЮ
CREATE TABLE log (
`object_type` String,
`object_id` Int64,
`time` DateTime,
) ENGINE = MergeTree() ORDER BY (object_type, object_id, time) SETTINGS index_granularity = 8192;
МЮ
S
S
CREATE TABLE log (
`object_type` String,
`object_id` Int64,
`time` DateTime,
) ENGINE = MergeTree() ORDER BY (object_type, object_id, time) SETTINGS index_granularity = 8192;