This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.
lightning failed with EOF error when the last char in csv file is not \r\n #1133
Closed
Description
Please answer these questions before submitting your issue. Thanks!
-
What did you do?
If possible, provide a recipe for reproducing the error.
use lightning local backend to load csv files that don't end with\r\n
at the last line and setstrict-format = true
-
What did you expect to see?
Lightning should success. -
What did you see instead?
Error: restore tabledb
.tbl
failed: EOF
tidb lightning encountered error: restore tabledb
.tbl
failed: EOF -
What version of BR and TiDB/TiKV/PD are you using?
nightly
-
Operation logs
-
Configuration of the cluster and the task
-
Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible