Closed pranavr12 closed 1 month ago
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
Test failures are unrelated, see https://github.com/trinodb/aws-proxy/pull/115
The remote s3 parameters can now be made configurable. Two types of styles can be used for referencing the s3 - PathStyle and VirtualHostStyle. The default hostname template for pathStyle is: "s3.${region}.${domain}" The default hostname template for virtualHostStyle is: "${bucket}.s3.${region}.${domain}"
The motivation behind this configuration: It may not always be the case where the region is always specified in the S3 URI (https://s3.testDomain.com) or the "s3" constant always remains "s3". The configuration can handle custom URIs such as: https://s3a.testDomain.com/ https://s3a.testDomain.us-east.com/ https://s3a.us-east.testDomain.com/