Skip to content
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

CSV parser plugin supports non-quoted values which contains " #248

Closed
wants to merge 6 commits into from

Conversation

frsyuki
Copy link
Contributor

@frsyuki frsyuki commented Aug 5, 2015

This change includes 3 changes:

  • CSV parser supports null to quote and escape options. It means
    disabling quoting or escaping.
  • CSV guess plugin uses quote: null if some values contain '"' in
    middle of non-quoted string.
  • CSV parser assumes quote: '' (or escape: '') mean disabling
    quoting (or escaping). This is backward incompatible because previous
    behavior was assuming quote='"' (or escape="")

This change includes 3 changes:

* CSV parser supports null to `quote` and `escape` options. It means
  disabling quoting or escaping.
* CSV guess plugin uses `quote: null` if some values contain '"' in
  middle of non-quoted string.
* CSV parser assumes `quote: ''` (or `escape: ''`) mean disabling
  quoting (or escaping). This is backward incompatible because previous
  behavior was assuming quote='"' (or escape="\\").
@frsyuki
Copy link
Contributor Author

frsyuki commented Aug 5, 2015

I added another commit to make the behavior backward compatible.

@muga
Copy link
Contributor

muga commented Aug 5, 2015

👍

@frsyuki
Copy link
Contributor Author

frsyuki commented Aug 5, 2015

squashed & merged:
a21e613

@frsyuki frsyuki closed this Aug 5, 2015
@sakama sakama deleted the csv-no-quote-no-escape branch July 21, 2016 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants