roeap opened a new issue #1313:
URL: https://github.com/apache/arrow-datafusion/issues/1313


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   From what I can gather from the codebase, it seems the synchronous APIs are 
exclusively used when  using the object store. At least in my experience, the 
SDKs for remote object stores have asynchronous methods as primary APIs. 
Furthermore invoking a synchronous method inside async is straight forward by 
spawning a blocking task. On the other hand I could not figure out a way to 
call async code inside a sync method when already inside a tokio runtime (i.e. 
cannot call block_on ...)
   
   **Describe the solution you'd like**
   
   Use the async object store APIs by default, to facilitate implementation of 
remote object stores.
   
   **Describe alternatives you've considered**
   
   Alternatively a flag on the object store might be used to check if sync or 
async calls should be used. Or maybe I missed an obvious solution :)
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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