nastra commented on code in PR #14767:
URL: https://github.com/apache/iceberg/pull/14767#discussion_r2631622203
##########
core/src/main/java/org/apache/iceberg/rest/RESTTableScan.java:
##########
@@ -60,6 +67,10 @@ class RESTTableScan extends DataTableScan {
private final TableIdentifier tableIdentifier;
private final Set<Endpoint> supportedEndpoints;
private final ParserContext parserContext;
+ private final Map<String, FileIO> fileIOByPlanId = Maps.newConcurrentMap();
Review Comment:
I think what confused me is the way we currently set/use `currentPlanId`
across methods, which somehow made my brain think we need to handle this
concurrently. I've opened https://github.com/apache/iceberg/pull/14883 to
simplify 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]