-
Notifications
You must be signed in to change notification settings - Fork 925
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
Fix spaces around CSV quoted strings #15727
Fix spaces around CSV quoted strings #15727
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you very much for working on this - it looks pretty great already! A few small comments -
/ok to test |
It looks like the style check is failing. I'd suggest running |
@shrshi You can take another look now. Thanks for the review. |
/ok to test |
/ok to test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thank you for applying the suggestions!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two (non-blocking) queries, approving python changes.
/merge |
Thanks for the contribution @thabetx! |
Description
This PR adds an option to CSV parsing to detect quotes even if they are surrounded by whitespaces.
Current behavior when
options.keepquotes == false
:"A"
->A
"A"
->"A"
(The spaces around the 'A' are not removed and the quotes are kept)New behavior after enabling the new option:
"A"
->A
"A"
->A
The new option is false by default to avoid breaking any code that relied on the old behavior.
Closes #13892.
Checklist