nastra commented on code in PR #18716:
URL: https://github.com/apache/iceberg/pull/18716#discussion_r4663612528


##########
gcp/src/main/java/org/apache/iceberg/gcp/GCPAuthUtils.java:
##########
@@ -48,7 +62,9 @@ public static OAuth2Credentials 
oauth2CredentialsFromGcpProperties(
           closeableGroup,
           "Must specify a closeable group that handles closure of refresh 
handler.");
       OAuth2RefreshCredentialsHandler oAuthRefreshHandler =
-          OAuth2RefreshCredentialsHandler.create(gcpProperties.properties());
+          null != storagePrefix

Review Comment:
   I don't think this if / else check is needed. why not just always pass 
`storagePrefix`?



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