You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by Soheil Pourbafrani <so...@gmail.com> on 2019/01/29 21:47:24 UTC

How to save table with header

Hi,
I can save tables in a CSV file like this:

TableSink<Row> q6Sink = new CsvTableSink(SinkPath, ",");
temp.writeToSink(q6Sink);

but I want to save the table with the table header as the first line. Is it
possible in Flink?