env String,
timestamp String,
sequence_id Int32,
legal_entity String,
symbol_id Nullable(String),
currency String,
account_id String,
type String
) ENGINE = ReplacingMergeTree(env, (env, account_id, symbol_id, currency), 8192);
Code: 43. DB::Exception: Illegal type String of argument of function toYYYYMM. Should be a date or a date with time: While processing toYYYYMM(env)
лучше не использовать старый синтаксис создания таблицы https://clickhouse.com/docs/en/engines/table-engines/mergetree-family/mergetree/#table_engine-mergetree-creating-a-table
Обсуждают сегодня