thehabbos007 opened a new issue, #154:
URL: https://github.com/apache/arrow-rs-object-store/issues/154

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...] 
   (This section helps Arrow developers understand the context and *why* for 
this feature, in addition to  the *what*)
   -->
   This feature request is related to using the `http` feature of the 
`object_store` crate for fetching data. The `HttpBuilder` is slightly different 
from the other builders in its usage. It doesn't have a `with_config` method 
nor is the keys used for configuring the client, `ClientConfigKey`, being 
exported for usage in other libraries/applications.
   
   This would allow `polars` to implement the `http` target in a way that's 
consistent with the other cloud targets, see 
https://github.com/pola-rs/polars/blob/96b0e07e75a882eaed7be05e619307bc144aa5b4/polars/polars-core/src/cloud.rs
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   Exporting `ClientConfigKey` and adding a `HttpBuilder::with_config` method 
that can set individual options so it's consistent with the other cloud 
provider client builders.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   There could be a distinct `HttpConfigKey`, but since the `ClientOptions` 
struct is already exported, it would make sense to export the keys too.
   
   The `with_config` method isn't strictly required, but it does make things 
more consistent in usage.
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   This came up while trying to add `http` to polars. This change request isn't 
from a polars team member, but I thought the changes here would be welcome :)


-- 
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]

Reply via email to