mholt / PapaParse

Fast and powerful CSV (delimited text) parser that gracefully handles large files and malformed input
http://PapaParse.com
MIT License
12.3k stars 1.14k forks source link

Parsing data with duplicate headers in streaming mode results in empty result #1016

Open sebix opened 11 months ago

sebix commented 11 months ago

Using https://www.papaparse.com/demo or version 5.4.1 locally, parsing CSV data is broken with streaming data containing duplicate headers.

Input:

a,a,a
c,d,e

Settings: Streaming, Header image

Actual Result: Array []

image

Could be related to #980

jchen042 commented 8 months ago

Similar issue in #1024 .