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

   **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*)
   -->
   
   It would be great to support Bearer Authorization for e.g. PMTiles URLs.
   
   [Databricks Files 
API](https://docs.databricks.com/api/workspace/files/download) requires setting 
Bearer headers.
   Adding the ability to specify the header would allow to load a PMTiles file 
from [Unity Catalog 
Volumes](https://docs.databricks.com/aws/en/volumes/volume-files).
   
   **Describe the solution you'd like**
   
   I think the simplest solution would be to allow configuring the following 
for http stores:
   
   
https://github.com/apache/arrow-rs-object-store/blob/95b0a94150acaa40ef2265adaba5052cafc594d6/src/client/mod.rs#L486
   
   The difficult part here is mainly the "how do I configure this in the config 
file" part.
   I am not sure if the ideas I have there are good and would like to hear 
others oppinons first ^^
   
   **Describe alternatives you've considered**
   
   Alternatively, this functionality could be made public api:
   
   
https://github.com/apache/arrow-rs-object-store/blob/95b0a94150acaa40ef2265adaba5052cafc594d6/src/client/builder.rs#L154-L155
   
   Not sure what is the best approach.
   
   **Additional context**
   
   This issue was originally raised by @danielsparing in 
https://github.com/maplibre/martin/issues/2353


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