Skip to content
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
glorv opened this issue May 21, 2021 · 0 comments · Fixed by #1134
Closed

lightning failed with EOF error when the last char in csv file is not \r\n #1133

glorv opened this issue May 21, 2021 · 0 comments · Fixed by #1134

Comments

@glorv
Copy link
Collaborator

glorv commented May 21, 2021

Please answer these questions before submitting your issue. Thanks!

  1. 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 set strict-format = true

  2. What did you expect to see?
    Lightning should success.

  3. What did you see instead?
    Error: restore table db.tbl failed: EOF
    tidb lightning encountered error: restore table db.tbl failed: EOF

  4. What version of BR and TiDB/TiKV/PD are you using?
    nightly

  1. Operation logs

  2. Configuration of the cluster and the task

  3. Screenshot/exported-PDF of Grafana dashboard or metrics' graph in Prometheus if possible

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants