xishuaidelin commented on code in PR #22539:
URL: https://github.com/apache/flink/pull/22539#discussion_r1222759885


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/resource/ResourceManager.java:
##########
@@ -83,6 +83,60 @@ public ResourceManager(ReadableConfig config, 
MutableURLClassLoader userClassLoa
         this.userClassLoader = userClassLoader;
     }
 
+    public boolean exists(Path filePath) throws IOException {
+        boolean exist;
+        FileSystem fs = FileSystem.getUnguardedFileSystem(filePath.toUri());
+        exist = fs.exists(filePath);
+        return exist;

Review Comment:
   Yes, this looks better. I would update it soon.



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to