flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adnan Khan (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (FLINK-1388) POJO support for writeAsCsv
Date Tue, 17 Feb 2015 22:11:11 GMT

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

Adnan Khan edited comment on FLINK-1388 at 2/17/15 10:11 PM:
-------------------------------------------------------------

Oh that makes sense, I'll look at that. I don't see any tests for {{org.apache.flink.api.java.io.CsvOutputFormat}}.
Should I add some similar to {{org.apache.flink.api.java.io.record.CsvOutputFormatTest}}?
But for tuples and POJOs of course.


was (Author: khnd):
Oh that makes sense, I'll look at that. I don't see any tests for {{org.apache.flink.api.java.io.CsvOutputFormat}}.
Should I add some similar to {org.apache.flink.api.java.io.record.CsvOutputFormatTest}}? But
for tuples and POJOs of course.

> POJO support for writeAsCsv
> ---------------------------
>
>                 Key: FLINK-1388
>                 URL: https://issues.apache.org/jira/browse/FLINK-1388
>             Project: Flink
>          Issue Type: New Feature
>          Components: Java API
>            Reporter: Timo Walther
>            Assignee: Adnan Khan
>            Priority: Minor
>
> It would be great if one could simply write out POJOs in CSV format.
> {code}
> public class MyPojo {
>    String a;
>    int b;
> }
> {code}
> to:
> {code}
> # CSV file of org.apache.flink.MyPojo: String a, int b
> "Hello World", 42
> "Hello World 2", 47
> ...
> {code}



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

Mime
View raw message