GitHub user chitralverma added a comment to the discussion: (rust/ python) Copy data from one operator to another
for python, I was suggesting we expose the [reader_with](https://docs.rs/opendal/latest/src/opendal/types/operator/operator.rs.html#670-694) on `Operator` and `AsyncOperator`. so instead of `op.open(...)` we can do a `op.reader("path", **opts)`. Or even better `op.reader(...).read_into(op2.writer)` so that data is written directly from 1 operator(fs) to another(s3 ...). For rust, exposing `BufferStream` and `BufferSink` can work. Basically i just want to copy data from point a to point b as efficiently as possible GitHub link: https://github.com/apache/opendal/discussions/5692#discussioncomment-12385765 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected]
