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-1512) Add CsvReader for reading into POJOs.
Date Wed, 25 Mar 2015 04:47:53 GMT

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

ASF GitHub Bot commented on FLINK-1512:

Github user chiwanpark commented on the pull request:

    Hi, I updated this PR.
    * Remove `pojoType(Class<?> targetType)` method in `CsvReader` to force the user
to explicitly specify the fields order.
    * Add checking the fields order existence routine in `readCsvFile` method.
    * Add two integration tests for above 2 modifications.
    By the way, I cannot find out why Travis fails. In my computer, `mvn clean install -DskipTests`
and `mvn verify` succeed. From [travis log](https://travis-ci.org/chiwanpark/flink/jobs/55747686#L7074),
It seems that the problem relates with Gelly. Although I read some codes in Gelly, I cannot
find what is exactly problem.
    Could anyone help me with this problem?

> Add CsvReader for reading into POJOs.
> -------------------------------------
>                 Key: FLINK-1512
>                 URL: https://issues.apache.org/jira/browse/FLINK-1512
>             Project: Flink
>          Issue Type: New Feature
>          Components: Java API, Scala API
>            Reporter: Robert Metzger
>            Assignee: Chiwan Park
>            Priority: Minor
>              Labels: starter
> Currently, the {{CsvReader}} supports only TupleXX types. 
> It would be nice if users were also able to read into POJOs.

This message was sent by Atlassian JIRA

View raw message