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 Wed, 20 May 2015 16:06:11 GMT

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

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

GitHub user StephanEwen opened a pull request:

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

    [FLINK-2061] [core] Fix names of memory size config parameter

    This still evaluates the old parameter, if the old one is set and the new one is not set.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/StephanEwen/incubator-flink paramrename

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/703.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 #703
    
----
commit ff7a1a6726c29f041251909b675127210010e9ff
Author: Stephan Ewen <sewen@apache.org>
Date:   2015-05-20T14:19:22Z

    [FLINK-2061] [core] Fix names of memory size config parameter
    
    This still evaluates the old parameter, if the old one is set and the new one is not set.

----


> 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
>
> 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