criccomini opened a new pull request, #348: URL: https://github.com/apache/arrow-rs-object-store/pull/348
This change introduces an `ObjectStoreRegistry`. The rationale is that there are some cases where `ObjectStore`s need to be resolved at runtime. There already exists `parse_url` to address this need, but it's fairly hard-coded. It doesn't support custom `ObjectStore` implementations and parsing logic, for example. `ObjectStoreRegistry` can also act as a nice cache when multiple object stores are used across the codebase. Moreover, it can serve as a way to map URLs to object stores--something that was requested in #347 and #259. Since `object_store` does not currently expose a `get_url()` method, this is useful in cases where a user wants to go from an `ObjectStore` back to a URL. Fixes #347 -- 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]
