Skip to content

fix: inject newline between multipart parts missing trailing newline#1779

Open
jdcc wants to merge 1 commit into
frictionlessdata:mainfrom
drivendataorg:fix/multipart-csv-missing-trailing-newline
Open

fix: inject newline between multipart parts missing trailing newline#1779
jdcc wants to merge 1 commit into
frictionlessdata:mainfrom
drivendataorg:fix/multipart-csv-missing-trailing-newline

Conversation

@jdcc
Copy link
Copy Markdown

@jdcc jdcc commented May 15, 2026

When a multipart CSV file part lacks a trailing newline, its last line was being concatenated directly with the first data line of the next part, corrupting row parsing.


I don't know if this fix is appropriate for all intended multipart resources, but it works for multipart CSVs.

When a multipart CSV file part lacks a trailing newline, its last line
was being concatenated directly with the first data line of the next
part, corrupting row parsing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multipart CSV parsing corrupts rows when a file part lacks a trailing newline

1 participant