canal_json don't support nil value for uint64 #4736
Labels
affects-5.4
This bug affects the 5.4.x(LTS) versions.
area/ticdc
Issues or PRs related to TiCDC.
severity/critical
type/bug
The issue is confirmed as a bug.
What did you do?
What did you expect to see?
kafka sink work normally
What did you see instead?
Error like:
[2022/03/01 18:27:11.489 +08:00] [PANIC] [canal.go:167] [“unsigned value not in type uint64”] [column="{“name”:“mch_id”,“type”:8,“flag”:193,“value”:null}"]
Detail:
trigger senarios:
column define default null at creating + insert without explicit column
tiflow/cdc/entry/mounter.go
Line 526 in 9fdebd6
tiflow/cdc/sink/codec/canal.go
Line 166 in 9fdebd6
Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):v5.4.0
Upstream TiKV version (execute
tikv-server --version
):v5.4.0
TiCDC version (execute
cdc version
):v5.4.0
The text was updated successfully, but these errors were encountered: