Skip to content

Apache DataFusion SQL Query Engine

Minor: Debug log when FairPool is created (#7431)

Andrew Lamb733886320f13
diff --git a/datafusion/execution/src/memory_pool/pool.rs b/datafusion/execution/src/memory_pool/pool.rs
index 1242ce025c..cc48c34b8e 100644
--- a/datafusion/execution/src/memory_pool/pool.rs
+++ b/datafusion/execution/src/memory_pool/pool.rs
@@ -143,6 +143,7 @@ struct FairSpillPoolState {
impl FairSpillPool {
/// Allocate up to `limit` bytes
pub fn new(pool_size: usize) -> Self {
+ debug!("Created new FairSpillPool(pool_size={pool_size})");
Self {
pool_size,
state: Mutex::new(FairSpillPoolState {