danielcweeks commented on a change in pull request #1767:
URL: https://github.com/apache/iceberg/pull/1767#discussion_r523196000



##########
File path: aws/src/main/java/org/apache/iceberg/aws/s3/BaseS3File.java
##########
@@ -29,10 +31,18 @@
   private final S3Client client;
   private final S3URI uri;
   private HeadObjectResponse metadata;
+  private Map<String, String> properties;
 
   BaseS3File(S3Client client, S3URI uri) {
     this.client = client;
     this.uri = uri;
+    this.properties = Collections.emptyMap();

Review comment:
       I actually like what you have with the `AwsCatalogProperties`, but maybe 
we could use that as utility for translating to/from the catalog properties.  I 
feel like there are going to be a lot of these configs so we probably don't 
want to pull each one out individually.  The catalog properties are also hard 
to deal with becuase it's just `Map<String,String>` which makes 
defaults/casting harder.  I'm thinking of something like `awsCatalogProperties 
= AwsCatalogProperties.from(properties)` and then we can just use 
`awsCatalogProperties.multipartSize()` (for example).




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

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