singhpk234 commented on code in PR #3997:
URL: https://github.com/apache/polaris/pull/3997#discussion_r3005150762


##########
runtime/service/src/main/java/org/apache/polaris/service/catalog/iceberg/IcebergCatalogAdapter.java:
##########
@@ -512,15 +513,20 @@ public Response loadCredentials(
       SecurityContext securityContext) {
     Namespace ns = decodeNamespace(namespace);
     TableIdentifier tableIdentifier = TableIdentifier.of(ns, 
RESTUtil.decodeString(table));
+    Optional<String> refreshEndpoint =
+        Optional.of(new 
PolarisResourcePaths(prefix).credentialsPath(tableIdentifier));
     return withCatalog(
         securityContext,
         prefix,
         catalog -> {
+          // Vend credentials directly from entity properties, avoiding a full 
table metadata read
+          if 
(realmConfig.getConfig(FeatureConfiguration.OPTIMIZED_CREDENTIAL_VENDING)) {

Review Comment:
   remove this config entirely :) 



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

Reply via email to