-
Notifications
You must be signed in to change notification settings - Fork 928
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix spaces around CSV quoted strings (#15727)
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. Authors: - Mohamed Thabet (https://github.com/thabetx) - Shruti Shivakumar (https://github.com/shrshi) Approvers: - Shruti Shivakumar (https://github.com/shrshi) - Lawrence Mitchell (https://github.com/wence-) URL: #15727
- Loading branch information
Showing
6 changed files
with
99 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters