max-mapper / max-mapper/binary-csv

Enhancement: Add option for unescaped quotes in csv

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
106
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Would be really nice if you could pass in an option to the parser to NOT try to escape quotes across multiple lines. Ran into this issue when the data feed I received didn't properly escape their double quotes so the parser didn't process the next lines properly. Ie in the example below everything is considered the first row.

ie:
row, some item, that is 16"
another row, that has something in it, no quotes
row3, has another, item with quote that is 12"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the parser's handling of quotes that span lines and review how parser options are defined. Add an option for treating unescaped quotes as ordinary field content, then verify that the sample input produces separate rows instead of one continuing row.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-engineering
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.