rdblue commented on code in PR #15561:
URL: https://github.com/apache/iceberg/pull/15561#discussion_r2913516557


##########
core/src/main/java/org/apache/iceberg/rest/RESTTableScan.java:
##########
@@ -131,14 +131,16 @@ protected TableScan newRefinedScan(
         tableIdentifier,
         resourcePaths,
         supportedEndpoints,
-        io(),
+        null != fileIOForPlanId ? fileIOForPlanId : tableIo,

Review Comment:
   I think `fileIOForPlanId` should be called `scanFileIO`. And it should be 
initialized once after the plan endpoint returns success. I don't see why the 
plan ID matters.



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