K
Size: a a a
K
IR
DT
WK
K
S
K
S
I
/var/lib/clickhouse/data/
db/
table/detached
/{{ increment }}S
/var/lib/clickhouse/data/
db/
table/detached
/{{ increment }}I
S
АЗ
MM
VR
IK
MM
MM
VR
CO
create table solder
(
id String,
number String,
cost Int32,
currency Nullable(String),
prize Nullable(Int32),
date_sold DateTime,
date Date,
game_id Int32,
user_id Int32,
session_guid Nullable(String),
session_id Nullable(String),
session_balance Nullable(Int32),
g_count Nullable(Int8),
is_free Nullable(Int8),
is_refund Nullable(Int8),
roundnum Nullable(String),
ip Nullable(String),
ua Nullable(String),
platform Nullable(String),
date_updated Nullable(DateTime),
is_real Nullable(Int8),
is_gt_max Nullable(Int8) default CAST(0, 'Nullable(Int8)'),
promotion_id Nullable(Int32) default CAST(0, 'Nullable(Int32)'),
is_suspicious_activities Nullable(Int8) default CAST(0, 'Nullable(Int8)')
)
engine = MergeTree() PARTITION BY toYYYYMMDD(date) ORDER BY (id, date, date_sold, game_id, user_id) SETTINGS index_granularity = 8192
как
только делаю в запросе CASE, пишет Read Time out