tanmayrauth opened a new pull request, #975:
URL: https://github.com/apache/iceberg-go/pull/975

   Two issues caused 301 PermanentRedirect errors when writing data files to S3 
Table Buckets:
   
   1. The SigV4 signing region configured on the REST catalog was not 
propagated to the S3 I/O layer. When s3.region is absent from vended 
credentials, the S3 client falls back to the SDK default region, which may 
differ from the bucket's actual region. Fix: toProps() now sets client.region 
from the SigV4 signing region as a fallback.
   
   2. The S3 client defaulted to path-style addressing, which is deprecated by 
AWS. Virtual-hosted style is now the default for standard AWS S3, with 
path-style reserved for custom endpoints.
   
   Fixes #974


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