Skip to content

Commit

Permalink
remove debug statements
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiantia committed Feb 19, 2025
1 parent a8adad7 commit 3de721f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions kernel/src/log_segment/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,15 +143,10 @@ fn write_parquet_to_store(
let mut writer = ArrowWriter::try_new(&mut buffer, record_batch.schema(), None)?;
writer.write(record_batch)?;
writer.close()?;
println!("Writing to path: {}", path);

tokio::runtime::Runtime::new()
.expect("create tokio runtime")
.block_on(async {
if let Err(e) = store.put(&Path::from(path), buffer.into()).await {
eprintln!("Error writing to store: {}", e);
}
});
.block_on(async { store.put(&Path::from(path), buffer.into()).await })?;

Ok(())
}
Expand Down

0 comments on commit 3de721f

Please sign in to comment.