[ 
https://issues.apache.org/jira/browse/FLINK-4785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15905696#comment-15905696
 ] 

Fabian Hueske commented on FLINK-4785:
--------------------------------------

Copying the issue description of FLINK-6017

{quote}
The RFC for the CSV format specifies that newlines are valid in quoted strings 
in CSV:

https://tools.ietf.org/html/rfc4180

However, when parsing a CSV file with Flink containing a newline, such as:

"3
4",5

you get this exception:

Line could not be parsed: '"3'
ParserError UNTERMINATED_QUOTED_STRING 
Expect field types: class java.lang.String, class java.lang.String 
{quote}

> Flink string parser doesn't handle string fields containing two consecutive 
> double quotes
> -----------------------------------------------------------------------------------------
>
>                 Key: FLINK-4785
>                 URL: https://issues.apache.org/jira/browse/FLINK-4785
>             Project: Flink
>          Issue Type: Improvement
>          Components: Core
>    Affects Versions: 1.1.2
>            Reporter: Flavio Pompermaier
>              Labels: csv
>
> To reproduce the error run 
> https://github.com/okkam-it/flink-examples/blob/master/src/main/java/it/okkam/datalinks/batch/flink/datasourcemanager/importers/Csv2RowExample.java



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to