wuchong commented on a change in pull request #16029:
URL: https://github.com/apache/flink/pull/16029#discussion_r643734266



##########
File path: 
flink-table/flink-sql-client/src/main/java/org/apache/flink/table/client/cli/CliUtils.java
##########
@@ -109,7 +109,9 @@ public static boolean createFile(final Path filePath) {
             if (parent == null) {
                 return false;
             }
-            Files.createDirectories(parent);
+            if (Files.notExists(parent)) {

Review comment:
       I reverted this change and re-run the new tests, but the tests are still 
passed. So the tests can't reproduce the problems mentioned in the JIRA issue. 
Could you update tests to reproduce your problem? 




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to