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

Kurt Young commented on FLINK-15066:
------------------------------------

[~danny0405] I'm not sure if this issue relates to INSERT OVERWRITE, quite the 
opposite, I didn't use INSERT OVERWRITE at all. What I did is type 

`INSERT INTO csvTable VALUES(...)` twice.

> Cannot run multiple `insert into csvTable values ()`
> ----------------------------------------------------
>
>                 Key: FLINK-15066
>                 URL: https://issues.apache.org/jira/browse/FLINK-15066
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / Client
>            Reporter: Kurt Young
>            Assignee: Danny Chen
>            Priority: Major
>             Fix For: 1.10.0
>
>
> I created a csv table in sql client, and tried to insert some data into this 
> table.
> The first insert into success, but the second one failed with exception: 
> {code:java}
> // Caused by: java.io.IOException: File or directory /.../xxx.csv already 
> exists. Existing files and directories are not overwritten in NO_OVERWRITE 
> mode. Use OVERWRITE mode to overwrite existing files and directories.    at 
> org.apache.flink.core.fs.FileSystem.initOutPathLocalFS(FileSystem.java:817)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to