pdeva opened a new pull request, #663: URL: https://github.com/apache/arrow-rs-object-store/pull/663
## Summary AWS has introduced a new `--xa-s3` suffix for S3 Express One Zone directory buckets (in addition to the existing `--x-s3` suffix). For example: `eks-staging-k3--use1-az4--xa-s3`. Currently `parse_bucket_az` only recognizes `--x-s3`, so calling `.with_s3_express(true)` on a bucket with the `--xa-s3` suffix fails with: ``` Invalid Zone suffix for bucket 'eks-staging-k3--use1-az4--xa-s3' ``` This PR updates `parse_bucket_az` to also strip `--xa-s3`, and adds corresponding test cases. ## Test plan - Added test cases for `--xa-s3` suffix (with and without AZ) to `test_parse_bucket_az` - All existing tests continue to pass -- 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]
