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
Any updates on the fix for this issue? I'm stuck trying to parse a large file and I encounter this error about 2/3 of the way through. All the data after this error only includes the indexed keys.
It appears that when this happens and the headers are replaced by column indexes, the 'end' event is never generated. I wrote a function to re-apply the headers once this problem is encountered, but now my code hangs when the end of the file is reached. It never enters the code block for the .on('end') event.
Expected Behavior
headers created with "mapHeaders" should be used for all valid records, even for records with to many or to less columns
Actual Behavior
How Do We Reproduce?
https://github.com/aheissenberger/csv-parser?organization=aheissenberger&organization=aheissenberger
The text was updated successfully, but these errors were encountered: