客户端:navicat 和mysql客户端 报同样的错
table schema:
CREATE TABLE account_log ( id bigint(20) NOT NULL AUTO_INCREMENT, type int(11) NOT NULL COMMENT ‘10-收入 20-支出’, account_id bigint(20) NOT NULL, user_id bigint(20) NOT NULL COMMENT ‘用户id’, user_type bigint(20) NOT NULL COMMENT ‘用户类型’, refer_id bigint(20) NOT NULL COMMENT ‘单据ID’, refer_type varchar(255) NOT NULL COMMENT ‘单据类型’, charge_money int(11) NOT NULL COMMENT ‘操作前充值金额’, check_money int(11) NOT NULL COMMENT ‘操作前核销金额’, profit_money int(11) NOT NULL COMMENT ‘操作前分润金额’, amount int(11) NOT NULL COMMENT ‘金额’, remain_charge_money int(11) NOT NULL COMMENT ‘操作后充值金额’, remain_check_money int(11) NOT NULL COMMENT ‘操作后核销金额’, remain_profit_money int(11) NOT NULL COMMENT ‘操作后分润金额’, create_time datetime NOT NULL COMMENT ‘创建时间’,
PRIMARY KEY (id),
KEY account_log_id_type (user_id,user_type,refer_id,refer_type),
KEY account_log_account_id (account_id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin AUTO_INCREMENT=111420001;
tiflash报错:
2021.08.04 15:21:35.599493 [ 18 ] SchemaSyncService: DB::SchemaSyncService::SchemaSyncService(DB::Context&)::<lambda()>: Sync schemas failed by DB::Exception: Storage engine DeltaMergedoesn’t support lossy data type modify from Nullable(Int32) to Nullable(Int8)
stack : 0. bin/tiflash/tiflash(StackTrace::StackTrace()+0x16) [0x6c130b6]