You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "flokli (via GitHub)" <gi...@apache.org> on 2024/03/09 14:40:54 UTC

Re: [I] ObjectStore with_url Should Handle Path [arrow-rs]

flokli commented on issue #4199:
URL: https://github.com/apache/arrow-rs/issues/4199#issuecomment-1986874316

   I stumbled over this today. While `parse_url` returns the rest of the URL, I need to use the `*Builder` structs to be able to also allow configurability using environment variables etc (`from_env`).
   
   Being able to get the path out of an URL is quite messy, I'd rather not reimplement this on my own. Of course I could use `parse_url` as a "path extractor" and just throw away the also returned `Box<dyn ObjectStore>` immediately, but it's a bit ugly.
   
   I'd much prefer `with_url` in all `*Builder` structs to put the Path it found into a field, and providing a function to return it from there.


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org