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

Include position in CSV error messages #3467

Closed
andygrove opened this issue Jan 5, 2023 · 1 comment
Closed

Include position in CSV error messages #3467

andygrove opened this issue Jan 5, 2023 · 1 comment
Labels
enhancement Any new improvement worthy of a entry in the changelog

Comments

@andygrove
Copy link
Member

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

I am querying CSV files and seeing errors such as "ArrowError(CsvError("Encountered unequal lengths between records on CSV file. Expected 45 records, found 44 records"))".

There are two issues:

  • This should say Expected 45 fields, found 44 fields not Expected 45 records, found 44 records
  • It does not give me any information about which line in the file has the issue, which is unhelpful

Describe the solution you'd like

Fix test and include line number when available

Describe alternatives you've considered

Additional context

@andygrove andygrove added the enhancement Any new improvement worthy of a entry in the changelog label Jan 5, 2023
@tustvold
Copy link
Contributor

This was closed by #3470

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Any new improvement worthy of a entry in the changelog
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants