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


##########
gcp/src/main/java/org/apache/iceberg/gcp/gcs/GCSInputFile.java:
##########
@@ -37,6 +49,7 @@ static GCSInputFile fromLocation(
       String location, long length, PrefixedStorage storage, MetricsContext 
metrics) {
     return new GCSInputFile(
         storage.storage(),
+        storage.gcsFileSystem(),

Review Comment:
   you might as well just pass `storage` directly instead of passing 
`storage.storage()` and `storage.gcsFileSystem()`



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