JingsongLi commented on code in PR #9472:
URL: https://github.com/apache/paimon/pull/9472#discussion_r3888735079


##########
paimon-common/src/main/java/org/apache/paimon/rest/RESTTokenFileIO.java:
##########
@@ -109,62 +119,126 @@ public void configure(CatalogContext context) {
 
     @Override
     public SeekableInputStream newInputStream(Path path) throws IOException {
-        return fileIO().newInputStream(path);
+        Lease lease = acquire();

Review Comment:
   Why need to modify RESTTokenFileIO?



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