alamb commented on PR #348: URL: https://github.com/apache/arrow-rs-object-store/pull/348#issuecomment-2863742022
> @tustvold One thing I'm not clear on right now: the `parse_url` method returns the store and path separately. So if I have two URLs: > > * `s3://foo/bar/baz` > * `s3://foo/blah` > > I think they'll both get the same object store right now. I'm not so sure that's the desired behavior. Wouldn't we want to return an ObjectStore that has a root relative to the path? I think it depends on what store was registered. It seems to me like if you had registered 2 stores: * `s3://foo/bar` --> S1 * `s3://foo/blah` --> S2 I would expect the two URLs to map to: * `s3://foo/bar/baz` --> S1, `path = `baz` * `s3://foo/blah` -> S2, path = `` -- 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]
