aditanase commented on issue #9280:
URL: https://github.com/apache/datafusion/issues/9280#issuecomment-2124584699

   Sent a quick PR for the improved docs.
   
   Also closing the loop on Ballista integration, I ended up adding a branch in 
the default object store that Ballista injects in new sessions:
   
https://github.com/apache/datafusion-ballista/blob/main/ballista/core/src/object_store_registry/mod.rs#L107
   
   Something like this seems to work - not sure if it's worth sending a PR 
their way, left this here in case some else needs it:
   ```rust
   if url.to_string().starts_with("https://";) || 
url.to_string().starts_with("http://";)
   {
       let store = HttpBuilder::new()
           .with_url(url.origin().ascii_serialization())
           .build()?;
       return Ok(Arc::new(store));
   }
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to