trueleo opened a new issue, #4078: URL: https://github.com/apache/arrow-rs/issues/4078
**Description** Currently, the S3 bucket URL parsing in for AWS [here](https://docs.rs/object_store/latest/object_store/aws/struct.AmazonS3Builder.html#method.with_url) is mistakenly parsing the bucket out of URL `https://s3.bucket.amazonaws.com`. However, this URL does not represent a valid S3 bucket URL format. The correct format should be `https://s3.region.amazonaws.com/bucket` for Path style as mentioned in AWS user guide [here](https://docs.aws.amazon.com/AmazonS3/latest/userguide/access-bucket-intro.html) **Expected behavior** The `parse_url` method on builder should correctly parse the S3 bucket URL and set region and bucket accordingly. **Additional context** [Invalid URL in Test](https://docs.rs/object_store/latest/src/object_store/aws/mod.rs.html#1414) -- 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]
