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



##########
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:
       ok, I will update the test case.




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