Re: TableFactory support for WriteMode.OVERWRITE

Posted by Jark Wu-3 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/TableFactory-support-for-WriteMode-OVERWRITE-tp32788p32800.html

Hi Flavio,

That's true. The OVERWRITE mode s not exposed to csv table sink. There is already a JIRA issue discussed this FLINK-15066 [1].
I think we may support INSERT OVERWRITE for csv sink in 1.11 instead of passing a connector property to the sink factory.

Best,
Jark 

[1]: https://issues.apache.org/jira/browse/FLINK-15066

On Thu, 13 Feb 2020 at 21:56, Flavio Pompermaier <[hidden email]> wrote:
Hi to all,
I was trying to use the new Table API to write into a CSV sink but I discovered that I can't set the write mode to WriteMode.OVERWRITE. Is this a missing feature or is it specifically designed? Is there any good reason to not allow overwrite of file system connectors?

Best,
Flavio