tustvold commented on issue #2205:
URL: 
https://github.com/apache/arrow-datafusion/issues/2205#issuecomment-1098045187

   I think this makes sense, the situation I'm trying to avoid is:
   
   * If you have the file on local disk we don't want to have to buffer it in 
memory before we can read it
   * If you have the file in memory, we don't want to copy the byte ranges, and 
just want to slice a `Bytes` object
   
   Currently the trait returns `Box<dyn Read>` which is likely sub-optimal for 
both.
   
   If we can find some way to handle this, that sounds good to me 😀


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