nastra commented on code in PR #15448:
URL: https://github.com/apache/iceberg/pull/15448#discussion_r2896936586
##########
open-api/src/testFixtures/java/org/apache/iceberg/rest/RESTServerCatalogAdapter.java:
##########
@@ -46,11 +53,30 @@ public <T extends RESTResponse> T handleRequest(
Consumer<Map<String, String>> responseHeaders) {
T restResponse = super.handleRequest(route, vars, httpRequest,
responseType, responseHeaders);
- if (restResponse instanceof LoadTableResponse) {
- if (PropertyUtil.propertyAsBoolean(
- catalogContext.configuration(), INCLUDE_CREDENTIALS, false)) {
- applyCredentials(
- catalogContext.configuration(), ((LoadTableResponse)
restResponse).config());
+ if (PropertyUtil.propertyAsBoolean(
Review Comment:
mostly needed for testing and is being extracted out in
https://github.com/apache/iceberg/pull/15524
--
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]