For other remaining formats like CSV, ndjson, ORC and Avro can you please suggest me an approach through which I can implement an Async writer following the trait bounds of AsyncWrite + Unpin + Send?
I'm happy to raise a PR for these formats if I can receive guidance on this or find a way to re-purpose the existing non-async writers.
From this issue https://github.com/jorgecarleitao/arrow2/issues/995, I was able to implement a parquet and IPC writer that uses object_store crate to write a Polars DF to any store (local or cloud). This is because, for both parquet and IPC formats, arrow2 exposes an async
FileSink
.For other remaining formats like CSV, ndjson, ORC and Avro can you please suggest me an approach through which I can implement an Async writer following the trait bounds of
AsyncWrite + Unpin + Send
?I'm happy to raise a PR for these formats if I can receive guidance on this or find a way to re-purpose the existing non-async writers.