[ 
https://issues.apache.org/jira/browse/FLINK-17883?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17126336#comment-17126336
 ] 

Dian Fu commented on FLINK-17883:
---------------------------------

I have verified the following interface defined in StatementSet:
{code}
StatementSet addInsert(String targetPath, Table table, boolean overwrite);
{code}

Note: currently only FileSystemTableSink and HiveTableSink supports `overwrite`.

> 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)

Reply via email to