luoyuxia commented on code in PR #22818:
URL: https://github.com/apache/flink/pull/22818#discussion_r1241000617


##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/resource/ResourceManager.java:
##########
@@ -199,10 +201,15 @@ public boolean exists(Path filePath) throws IOException {
     }
 
     /**
-     * Synchronize a file resource identified by the given {@link ResourceUri} 
with a local copy
-     * generated by the given resource generator.
+     * Generate a local file resource by given resource generator and then 
synchronize to the path
+     * identified by the given {@link ResourceUri}. The path passed to 
resource generator should be
+     * a local path retrieved from the given {@link ResourceUri}.
      *
-     * @param resourceUri the file resource to synchronize
+     * <p>NOTE: if the given {@link ResourceUri} represents a remote file path 
like
+     * "hdfs://path/to/file.json", then the retried local path will be

Review Comment:
   nit:
   retried -> retrieved



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