You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@arrow.apache.org by "Markus Westerlind (Jira)" <ji...@apache.org> on 2020/05/14 09:21:00 UTC

[jira] [Created] (ARROW-8796) Allow parquet to be written directly to memory

Markus Westerlind created ARROW-8796:
----------------------------------------

             Summary: Allow parquet to be written directly to memory
                 Key: ARROW-8796
                 URL: https://issues.apache.org/jira/browse/ARROW-8796
             Project: Apache Arrow
          Issue Type: Improvement
          Components: Rust
            Reporter: Markus Westerlind


The `TryClone` bound currently needed in `ParquetWriter` makes it awkward to write parquet to memory, forcing either a `Rc` + `RefCell` wrapper or to write to a `File` first.

By explictly threading lifetimes around the underlying writer can be passed mutably through all parts of the writer, allowing `&mut Vec<u8>` or any other implementors of the basic io traits to be used directly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)