Re: [RUST] Slow Parquet writer

2021-01-28 Thread Fernando Herrera
Yes, I'm running my code with the --release flag. I've been looking everywhere but I can't find a way to make the writing faster. I dont know if it is a mistake I'm making with the structs or the Parquet crate needs optimizations. Fernando, On Thu, Jan 28, 2021 at 12:02 PM Andrew Lamb wrote: >

Re: [RUST] Slow Parquet writer

2021-01-28 Thread Andrew Lamb
The first thing I would check is that you are using a release build (`cargo build --release`) If you are, there may be additional optimizations needed in the Rust implementations Andrew On Thu, Jan 28, 2021 at 6:19 AM Fernando Herrera < fernando.j.herr...@gmail.com> wrote: > Hi, > > What is the

[RUST] Slow Parquet writer

2021-01-28 Thread Fernando Herrera
Hi, What is the writing speed that we should expect from the Arrow Parquet writer? I'm writing a RecordBatch with two columns and 1,000,000 records and it takes a lot of time to write the batch to the file (close to 2 secs). This is what I'm doing let schema = Schema::new(vec![ > Field::new