TiCDC fill the default value without consider the real data type #10803
Labels
affects-6.5
This bug affects the 6.5.x(LTS) versions.
affects-7.1
This bug affects the 7.1.x(LTS) versions.
affects-7.5
This bug affects the 7.5.x(LTS) versions.
affects-8.0
area/ticdc
Issues or PRs related to TiCDC.
severity/moderate
type/bug
The issue is confirmed as a bug.
What did you do?
What did you expect to see?
The old value part for the column
c
, should have typeint
, instead ofstring
What did you see instead?
For both update and delete event, the old value is encoded as
string
, instead of real data typeint
. Since TiDB and TiCDC stores the default value asstring
, and TiCDC just use that value without considering the column data type.Versions of the cluster
Upstream TiDB cluster version (execute
SELECT tidb_version();
in a MySQL client):(paste TiDB cluster version here)
Upstream TiKV version (execute
tikv-server --version
):(paste TiKV version here)
TiCDC version (execute
cdc version
):master
The text was updated successfully, but these errors were encountered: