Skip to content

Handle quoted strings in CSV parser #1712

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 9, 2021

Conversation

dominiklohmann
Copy link
Member

📔 Description

This change makes it possible to import CSV data containing quoted strings that contain the configured separator. This works for both header and fields.

📝 Checklist

  • All user-facing changes have changelog entries.
  • The changes are reflected on docs.tenzir.com/vast, if necessary.
  • The PR description contains instructions for the reviewer, if necessary.

🎯 Review Instructions

Read code diff. Check provided unit tests.

@dominiklohmann dominiklohmann added the bug Incorrect behavior label Jun 8, 2021
@dominiklohmann dominiklohmann requested a review from a team June 8, 2021 14:54
@dominiklohmann dominiklohmann force-pushed the story/ch12199/quoted-strings-in-csv-parser branch from 90b9059 to fc21157 Compare June 8, 2021 14:56
This change makes it possible to import CSV data containing quoted
strings that contain the configured separator. This works for both
header and fields.
@dominiklohmann dominiklohmann force-pushed the story/ch12199/quoted-strings-in-csv-parser branch from fc21157 to 9ec1f35 Compare June 8, 2021 15:30
@dominiklohmann dominiklohmann requested a review from lava June 8, 2021 15:30
Copy link
Member

@lava lava left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! I didn't compile it locally, but the unit tests are enough to satisy me that it works as expected and doesn't break anything.

@dominiklohmann dominiklohmann merged commit 5961018 into master Jun 9, 2021
@dominiklohmann dominiklohmann deleted the story/ch12199/quoted-strings-in-csv-parser branch June 9, 2021 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Incorrect behavior
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants