[ https://issues.apache.org/jira/browse/FLINK-17883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114077#comment-17114077 ]
Jark Wu edited comment on FLINK-17883 at 5/22/20, 2:23 PM: ----------------------------------------------------------- We have a similar discussion in FLINK-15066 during last release, but the want to solve this by using the {{INSERT OVERWRITE}} statement, instead of adding a property to the connector. AFAIK, the new filesystem connector (FLIP-115), already supports {{INSERT OVERWRITE}} statement, so maybe you can have a try. Please correct me if I'm wrong [~lzljs3620320] was (Author: jark): We have a similar discussion during last release, but the want to solve this by using the {{INSERT OVERWRITE}} statement, instead of adding a property to the connector. AFAIK, the new filesystem connector (FLIP-115), already supports {{INSERT OVERWRITE}} statement, so maybe you can have a try. Please correct me if I'm wrong [~lzljs3620320] > Unable to configure write mode for FileSystem() connector in PyFlink > -------------------------------------------------------------------- > > Key: FLINK-17883 > URL: https://issues.apache.org/jira/browse/FLINK-17883 > Project: Flink > Issue Type: Improvement > Components: API / Python > Affects Versions: 1.10.1 > Reporter: Robert Metzger > Assignee: Nicholas Jiang > Priority: Major > > As a user of PyFlink, I'm getting the following exception: > {code} > File or directory /tmp/output already exists. Existing files and directories > are not overwritten in NO_OVERWRITE mode. Use OVERWRITE mode to overwrite > existing files and directories. > {code} > I would like to be able to configure writeMode = OVERWRITE for the FileSystem > connector. -- This message was sent by Atlassian Jira (v8.3.4#803005)