chenjian2664 commented on code in PR #18765:
URL: https://github.com/apache/iceberg/pull/18765#discussion_r4799513218
##########
aws/src/main/java/org/apache/iceberg/aws/s3/S3FileIO.java:
##########
@@ -337,6 +337,7 @@ public Iterable<FileInfo> listPrefix(String prefix) {
}
S3URI s3uri = uri;
+ String bucket = new S3URI(prefix).bucket();
Review Comment:
Added a comment explaining that this is the bucket name from the prefix,
without the access point override.
##########
aws/src/main/java/org/apache/iceberg/aws/s3/S3FileIO.java:
##########
@@ -337,6 +337,7 @@ public Iterable<FileInfo> listPrefix(String prefix) {
}
S3URI s3uri = uri;
+ String bucket = new S3URI(prefix).bucket();
Review Comment:
Renamed to `rawBucketName`.
--
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]