[
https://issues.apache.org/jira/browse/FLINK-2567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14713565#comment-14713565
]
ASF GitHub Bot commented on FLINK-2567:
---------------------------------------
GitHub user tammymendt opened a pull request:
https://github.com/apache/flink/pull/1059
[FLINK-2567]
Allow quoted strings in CSV fields to contain quotation character inside of
the field, as long as its escaped Ex: 'Hi my name is \'Flink\' '. If a
quotation character is found, the previous character is checked to see if it is
the escape character. If yes, the string continues to be searched for the
closing quotation. Test classes were updated to include strings with escaped
quotation characters.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tammymendt/flink FLINK-2567
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1059.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #1059
----
commit 696b3b9f66d37cffa467a41e20f4ce3e145d2cc2
Author: tammymendt <[email protected]>
Date: 2015-08-25T14:52:04Z
[FLINK-2567] Allow quoted strings in CSV fields to contain quotation
character inside of the field, as long as its escaped Ex: 'Hi my name is
\'Flink\''
----
> CsvParser: Quotes cannot be escaped inside quoted fields
> --------------------------------------------------------
>
> Key: FLINK-2567
> URL: https://issues.apache.org/jira/browse/FLINK-2567
> Project: Flink
> Issue Type: Bug
> Components: Core
> Affects Versions: 0.9, 0.10
> Reporter: Maximilian Michels
> Assignee: Tamara
> Priority: Minor
> Fix For: 0.10
>
>
> We should allow users to escape the quote character inside a quoted field.
> Quoting could be realized through the \ character like in: {{"This is an
> \"escaped\" quotation."}}
> Mailing list thread:
> http://apache-flink-mailing-list-archive.1008284.n3.nabble.com/jira-Created-FLINK-2567-CsvParser-Quotes-cannot-be-escaped-inside-quoted-fields-td7654.html
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)