alamb commented on code in PR #8147: URL: https://github.com/apache/arrow-rs/pull/8147#discussion_r2278793332
########## arrow-avro/src/writer/mod.rs: ########## @@ -315,7 +306,8 @@ mod tests { let input_batches = reader.collect::<Result<Vec<_>, _>>()?; let original = arrow::compute::concat_batches(&schema, &input_batches).expect("concat input"); - let out_path = unique_temp_path("arrow_avro_roundtrip"); + let tmp = NamedTempFile::new().expect("create temp file"); + let out_path = tmp.into_temp_path(); Review Comment: I double checked that this auto cleans up. 👍 https://docs.rs/tempfile/latest/tempfile/struct.NamedTempFile.html#method.into_temp_path -- 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: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org