nastra commented on code in PR #14740:
URL: https://github.com/apache/iceberg/pull/14740#discussion_r2587889295
##########
core/src/main/java/org/apache/iceberg/rest/RESTSessionCatalog.java:
##########
@@ -1032,7 +1043,8 @@ protected RESTTableOperations newTableOps(
FileIO fileIO,
TableMetadata current,
Set<Endpoint> supportedEndpoints) {
- return new RESTTableOperations(restClient, path, headers, fileIO, current,
supportedEndpoints);
+ return new RESTTableOperations(
+ restClient, path, Map::of, headers, fileIO, current,
supportedEndpoints);
Review Comment:
I think we might want to add the non-mutating headers as params to
`newTableOps` and `newViewOps` as well since those methods basically just mimic
the parameters of the underlying constructor
--
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]