You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AsyncWrite is a low-level, poll-based API. Users with writers that provide async fn write() will need to encapsulate it within a manually written future state machine.
This proposal intends to make
AsyncArrowWriter
accepts a new trait calledAsyncFileWriter
instead like what we do forParquetRecordBatchStream
.AsyncArrowWriter
acceptsAsyncWrite
currently:arrow-rs/parquet/src/arrow/async_writer/mod.rs
Lines 100 to 109 in 19a3bb0
AsyncWrite
is a low-level, poll-based API. Users with writers that provideasync fn write()
will need to encapsulate it within a manually written future state machine.For example:
arrow-rs/object_store/src/buffered.rs
Lines 306 to 313 in 08af471
Describe the solution you'd like
I propose to make
AsyncArrowWriter
accepts a new trait calledAsyncFileWriter
:Describe alternatives you've considered
Not yet.
Additional context
ParquetRecordBatchStream
accetpsAsyncFileReader
:arrow-rs/parquet/src/arrow/async_reader/mod.rs
Lines 123 to 147 in f38283b
I'm willing help implement this proposal.
The text was updated successfully, but these errors were encountered: