lighting/checkpoints: The table_info
to be imported is too large lead to the err Data too long for column 'table_info' at row 1
#50711
Labels
affects-7.1
affects-7.5
component/ddl
This issue is related to DDL of TiDB.
severity/major
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
When importing DM, the length of the table information to be imported exceeds
text
(65536) after parsing, resulting in the following error:[Lightning:Checkpoint:ErrInitCheckpoint]init checkpoint error: insert checkpoints failed: Error 1406 (22001): Data too long for column 'table_info' at row 1
Table field info:
tidb/br/pkg/lightning/checkpoints/checkpoints.go
Line 110 in 230e1d0
Marshal code:
tidb/br/pkg/lightning/checkpoints/checkpoints.go
Line 1253 in 230e1d0
2. What did you expect to see? (Required)
No error.
3. What did you see instead (Required)
Error:
[Lightning:Checkpoint:ErrInitCheckpoint]init checkpoint error: insert checkpoints failed: Error 1406 (22001): Data too long for column 'table_info' at row 1
4. What is your TiDB version? (Required)
v7.5.0
The text was updated successfully, but these errors were encountered: