You can use the FileSink and set the format to csv. An example of FileSink: https://nightlies.apache.org/flink/flink-docs-master/docs/connectors/table/filesystem/#full-example
Best, Lijie <pod...@gmx.com> 于2022年7月11日周一 16:16写道: > > If I create dynamic table with: > > > CREATE TABLE some_table (name STRING, score INT)WITH ( > 'format' = 'csv', > '...'); > > //do some other stuff here > > Then how to save table result to CSV file? > > Best, > > Mike > > >