[ https://issues.apache.org/jira/browse/FLINK-1388?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14321961#comment-14321961 ]
Robert Metzger commented on FLINK-1388: --------------------------------------- Cool. Some feedback: - I think an integration with {{DataSet.internalWriteAsCsv()}} would be nice. - From there, you can also pass the TypeInformation into the method (right now, the code is doing the TypeExtraction on every tuple. That won't work on large data sets) - I think it would be much easier for you to extend from the {{FileOutputFormat}}. It will do all the file-related stuff for you (your code does not allow to write files to HDFS). > 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)