nastra commented on code in PR #15368:
URL: https://github.com/apache/iceberg/pull/15368#discussion_r2832733013


##########
core/src/main/java/org/apache/iceberg/rest/RESTTable.java:
##########
@@ -75,11 +79,20 @@ public TableScan newScan() {
         tableIdentifier,
         resourcePaths,
         supportedEndpoints,
-        io(),
+        ioReference,
         catalogProperties,
         hadoopConf);
   }
 
+  @Override
+  public FileIO io() {

Review Comment:
   yes I agree and I had the same concern when I added his. I still wanted to 
put this out for now, since it fixes an obvious problem but doesn't work in a 
multi-threaded environment. I currently don't have a solution, so let me think 
a bit more about this



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to