viirya commented on code in PR #3361:
URL: https://github.com/apache/arrow-rs/pull/3361#discussion_r1051494190


##########
parquet/benches/arrow_writer.rs:
##########
@@ -312,9 +315,9 @@ fn write_batch_with_option(
     batch: &RecordBatch,
     props: Option<WriterProperties>,
 ) -> Result<()> {
-    // Write batch to an in-memory writer
-    let buffer = vec![];
-    let mut writer = ArrowWriter::try_new(buffer, batch.schema(), props)?;
+    let path = env::temp_dir().join("arrow_writer.temp");
+    let file = File::create(path).unwrap();

Review Comment:
   I changed it to write batch to file.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to