Dumpling single table, error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: dumpling 单个表,报错

| username: 不输土豆

[TiDB Usage Environment] Production Environment
[TiDB Version] V4.0.16
[Reproduction Path] Operations that led to the issue
(1) Start the dumpling command


(2) Error output!

[Encountered Issue: Symptoms and Impact]
Failed to dump table data with dumpling!
[Resource Configuration]
[Attachments: Screenshots/Logs/Monitoring] (Company intranet environment, unable to copy logs, apologies!)

| username: 有猫万事足 | Original post link

Actually, executing select from information_schema.placement_policies and show create table resulted in errors. I suggest copying this show create table statement and executing it in TiDB to see if the same error occurs.

Additionally, your dumping version is 7.1.0, but I see that your database version is 4.0.16. It seems like there is a version mismatch between the tool and the database. Some SQL statements that work fine in the new version may cause errors in the old version.

Because placement_policies is likely a new feature introduced in version 5.0, it might be true that this table cannot be found in the 4.0 database.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.