GitHub user Xuanwo edited a comment on the discussion: (rust/ python) Copy data 
from one operator to another

Hi, the returning struct from `into_futures_async_read` implements both 
`AsyncRead` and `AsyncSeek` so it need to know the exact size of this file. If 
the size is not unknown before, opendal will call `stat` to get the size when 
users call `seek`.


If users pass `..` and set a chunk, it will `stat` this file first to get the 
total size so that we know how many chunks we need.

GitHub link: 
https://github.com/apache/opendal/discussions/5692#discussioncomment-12409663

----
This is an automatically sent email for dev@opendal.apache.org.
To unsubscribe, please send an email to: dev-unsubscr...@opendal.apache.org

Reply via email to