Closed Fanduzi closed 3 years ago
This argument is marked hidden in https://github.com/pingcap/dumpling/pull/245. But you can still use this argument in dumpling.
This argument is marked hidden in #245. But you can still use this argument in dumpling.
Hi, thanks for your reply
Mark --sql as hidden since it's incompatible with lightning
Can you explain this, that CSV files exported using --sql
cannot be imported using lightning?
Because exported data doesn't have a table structure sql file. It can be used by lightning "directly".
Because exported data doesn't have a table structure sql file. It can be used by lightning "directly".
Thank you, I understand now.
Strictly speaking, when --filetype = csv
dumpling exported files contains db.table-schema.sql
files. However, these table structure files are problematic
# cat db.table-schema.sql
/*!40101 SET NAMES binary*/;
;
Perhaps a revision of the documentation should be a necessary step in the iterative process of the product. Personally, I'd suggest a note in the official documentation as well
Because exported data doesn't have a table structure sql file. It can be used by lightning "directly".
Thank you, I understand now. Strictly speaking, when
--filetype = csv
dumpling exported files containsdb.table-schema.sql
files. However, these table structure files are problematic# cat db.table-schema.sql /*!40101 SET NAMES binary*/; ;
Perhaps a revision of the documentation should be a necessary step in the iterative process of the product. Personally, I'd suggest a note in the official documentation as well
Thanks for your suggestion! We will update this document ASAP.
This parameter is missing? Or did you make another cheap mistake?