Closed roll closed 6 years ago
This PR solve the situation when unparsable CSV files hang the table on reading. As a solution, we re-emit the CSV parser stream (underlying) error to the transform stream (user-facing). Which seems working as we need.
Also, we use relax_column_count option to allow parsing CSV files with irregular column number. For now, it works only with disabled csvSniffer. See - https://github.com/frictionlessdata/tableschema-js/issues/142
relax_column_count
csvSniffer
@vitorbaptista Please review
Thanks.
For me too..
Overview
This PR solve the situation when unparsable CSV files hang the table on reading. As a solution, we re-emit the CSV parser stream (underlying) error to the transform stream (user-facing). Which seems working as we need.
Also, we use
relax_column_count
option to allow parsing CSV files with irregular column number. For now, it works only with disabledcsvSniffer
. See - https://github.com/frictionlessdata/tableschema-js/issues/142