flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-2061) CSVReader: quotedStringParsing and includeFields yields ParseException
Date Fri, 29 May 2015 21:17:17 GMT

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

ASF GitHub Bot commented on FLINK-2061:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/734


> CSVReader: quotedStringParsing and includeFields yields ParseException
> ----------------------------------------------------------------------
>
>                 Key: FLINK-2061
>                 URL: https://issues.apache.org/jira/browse/FLINK-2061
>             Project: Flink
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.9
>            Reporter: Fabian Hueske
>            Assignee: Chiwan Park
>
> Fields in a CSV file with quoted String cannot be skipped.
> Parsing a line such as: 
> {code}
> "20:41:52-1-3-2015"|"Re: Taskmanager memory error in Eclipse"|"Stephan Ewen <sewen@apache.org>"|"bla"|"blubb"
> {code}
> with a CSVReader configured as: 
> {code}
> DataSet<Tuple2<String, String>> data =
> 			env.readCsvFile("/path/to/my/data")
> 				.lineDelimiter("\n")
> 				.fieldDelimiter("|")
> 				.parseQuotedStrings('"')
> 				.includeFields("101")
> 				.types(String.class, String.class);
> {code}
> gives a {{ParseException}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message