You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "CarlKCarlK (via GitHub)" <gi...@apache.org> on 2025/03/20 21:24:40 UTC
[I] Pass Options to HttpBuilder in parse_url_opts [arrow-rs-object-store]
CarlKCarlK opened a new issue, #97:
URL: https://github.com/apache/arrow-rs-object-store/issues/97
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
*Summary*
I am trying to use `parse_url_opts` to create an `ObjectPath` and `StorePath` completely from strings (and lists of string pairs). This will make it much easier for my users to access genomic data from the cloud. I can't, however, set the needed timeout option.
*Details*
I love parse_url_opts. It lets me set options such as "aws_access_key_id".
```rust
let options = [
("aws_region", "us-west-2"),
("aws_access_key_id", credentials.aws_access_key_id()),
("aws_secret_access_key", credentials.aws_secret_access_key()),
];
```
It (apparently) does not, however, let me set client options such as "timeout". This is especially important for
Http.
**Describe the solution you'd like**
Perhaps the client options could be allowed and prefixed with "client_", for example,
let options = [
("client_time_out", "1000"),
];
> Aside: I don't know how to set the default units for a duration.
**Describe alternatives you've considered**
**Additional context**
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org