This is an automated email from the ASF dual-hosted git repository.

kszucs pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/master by this push:
     new d518839  ARROW-4807: [Rust] Fix csv_writer benchmark
d518839 is described below

commit d5188393e6447d8d16cc0b5ad295e0abe569584e
Author: Chao Sun <[email protected]>
AuthorDate: Fri Mar 8 12:48:12 2019 +0100

    ARROW-4807: [Rust] Fix csv_writer benchmark
    
    Author: Chao Sun <[email protected]>
    
    Closes #3842 from sunchao/ARROW-4807 and squashes the following commits:
    
    1e1f5400 <Chao Sun> ARROW-4807:  Fix csv_writer benchmark
---
 rust/arrow/benches/csv_writer.rs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/rust/arrow/benches/csv_writer.rs b/rust/arrow/benches/csv_writer.rs
index 49b1eed..6e0458b 100644
--- a/rust/arrow/benches/csv_writer.rs
+++ b/rust/arrow/benches/csv_writer.rs
@@ -51,7 +51,8 @@ fn record_batches_to_csv() {
     let b = RecordBatch::try_new(
         Arc::new(schema),
         vec![Arc::new(c1), Arc::new(c2), Arc::new(c3), Arc::new(c4)],
-    );
+    )
+    .unwrap();
     let file = File::create("target/bench_write_csv.csv").unwrap();
     let writer = csv::Writer::new(file);
     criterion::black_box(

Reply via email to