ehenry2 commented on pull request #811:
URL: https://github.com/apache/arrow-datafusion/pull/811#issuecomment-902849925


   I have a question on the ThreadSafeRead trait...is there anything prebuilt 
(or recommendedation) to wrap say a tokio AsyncRead or bytes.Buf to easily 
implement the get_reader_async function? I see the example for the local 
filesystem using the FileSource2 to wrap the File, but I'm assuming most remote 
implementations will approach this function implementation with some kind of 
in-memory buffer or stream. I had some issues figuring this one out trying to 
implement this for S3 (I'm still a bit new to rust and lifetimes, etc).


-- 
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-unsubscr...@arrow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to