You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 28, 2021. It is now read-only.
skip_empty_lines : Don't generate records for empty lines (line matching /\s*/), defaults to false.
As per the above definition it should ignore a row if it contains any string matching the regex '/\s*/'.
But when a row contains a space or tab in it, its not skipping the row and I am encountering following error
CsvError: Invalid Record Length: expect 2, got 1 on line 2
As a work around I have set trim as true and then it works.
Am I doing something wrong here or is it an issue?
My use-case here is to ignore the second row which had tab space in it.
By enabling 'relax_column_count' I wont get an error if column count doesn't match with header count which is not desirable for us.
As per the above definition it should ignore a row if it contains any string matching the regex '/\s*/'.
But when a row contains a space or tab in it, its not skipping the row and I am encountering following error
CsvError: Invalid Record Length: expect 2, got 1 on line 2
As a work around I have set trim as true and then it works.
Am I doing something wrong here or is it an issue?
The text was updated successfully, but these errors were encountered: