flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Hutchison (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6016) Newlines should be valid in quoted strings in CSV
Date Fri, 10 Mar 2017 03:51:37 GMT
Luke Hutchison created FLINK-6016:
-------------------------------------

             Summary: Newlines should be valid in quoted strings in CSV
                 Key: FLINK-6016
                 URL: https://issues.apache.org/jira/browse/FLINK-6016
             Project: Flink
          Issue Type: Bug
          Components: Batch Connectors and Input/Output Formats
    Affects Versions: 1.2.0
            Reporter: Luke Hutchison


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 



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

Mime
View raw message