Skip to content

Improve CSV parsing errors: Print the row that makes csv parsing fails #7344

@niebayes

Description

@niebayes

When the csv reader fails to parse a row, it prints the row number of the row in a record batch. This row number is not consistent with the line number in the original csv file, which makes debugging difficult.

I propose to print the row that makes csv parsing fails.

This issue was originally proposed at clflushopt/tpchgen-rs#66 (comment)

Metadata

Metadata

Assignees

Labels

arrowChanges to the arrow crateenhancementAny new improvement worthy of a entry in the changelog

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions