Skip to content
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
@glorv

Description

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions