Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lightning: add to feature to validate / determine header configuration of csv import #27757

Closed
fubinzh opened this issue Sep 2, 2021 · 0 comments · Fixed by #27819
Closed
Labels
component/lightning This issue is related to Lightning of TiDB. type/feature-request Categorizes issue or PR as related to a new feature.

Comments

@fubinzh
Copy link

fubinzh commented Sep 2, 2021

Feature Request

Is your feature request related to a problem? Please describe:

When lightning import CSV, it is possible mydumper.csv.header configuration is not correct ( header is true while there is no header, or vice versa)
In this case, lightning import might import data incorrectly, and finally fails at checksum phase. We should try to validate or determine this configuration to avoid mistakes.

Describe the feature you'd like:

Try to validate / determinze header configuration of csv import

Describe alternatives you've considered:
N/A

Teachability, Documentation, Adoption, Migration Strategy:
N/A

@fubinzh fubinzh added type/feature-request Categorizes issue or PR as related to a new feature. component/lightning This issue is related to Lightning of TiDB. labels Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/lightning This issue is related to Lightning of TiDB. type/feature-request Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant