Skip to content

Commit 68cffc6

Browse files
committed
chore: remove printlns
1 parent 0c65f27 commit 68cffc6

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

datafusion/core/tests/sql/runtime_config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ async fn test_max_temp_directory_size_enforcement() {
193193
.unwrap();
194194

195195
let result = ctx.sql(query).await.unwrap().collect().await;
196-
println!("result is {result:?}");
196+
197197
assert!(
198198
result.is_ok(),
199199
"Should not fail due to max temp directory size limit"

datafusion/execution/src/memory_pool/pool.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ impl MemoryPool for UnboundedMemoryPool {
4444

4545
fn try_grow(&self, reservation: &MemoryReservation, additional: usize) -> Result<()> {
4646
self.grow(reservation, additional);
47-
println!("[mem pool] {} used", self.reserved());
4847
Ok(())
4948
}
5049

@@ -71,8 +70,6 @@ pub struct GreedyMemoryPool {
7170
impl GreedyMemoryPool {
7271
/// Create a new pool that can allocate up to `pool_size` bytes
7372
pub fn new(pool_size: usize) -> Self {
74-
// debug!("Created new GreedyMemoryPool(pool_size={pool_size})");
75-
println!("Created new GreedyMemoryPool(pool_size={pool_size})");
7673
Self {
7774
pool_size,
7875
used: AtomicUsize::new(0),

datafusion/physical-plan/src/sorts/streaming_merge.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,8 @@ use arrow::array::*;
2929
use arrow::datatypes::{DataType, SchemaRef};
3030
use datafusion_common::{internal_err, Result};
3131
use datafusion_execution::disk_manager::RefCountedTempFile;
32-
#[allow(unused_imports)]
3332
use datafusion_execution::memory_pool::{
34-
human_readable_size, GreedyMemoryPool, MemoryConsumer, MemoryPool, MemoryReservation,
33+
human_readable_size, MemoryConsumer, MemoryPool, MemoryReservation,
3534
UnboundedMemoryPool,
3635
};
3736
use datafusion_physical_expr_common::sort_expr::LexOrdering;

0 commit comments

Comments
 (0)