How to save table with header

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to save table with header

Soheil Pourbafrani
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?