This is an automated email from the ASF dual-hosted git repository.

comphead pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git


The following commit(s) were added to refs/heads/main by this push:
     new 611cebf142 Remove usage of `dbg!` (#15858)
611cebf142 is described below

commit 611cebf142a6434adaa96b127903b0cd7685a04c
Author: Phillip LeBlanc <[email protected]>
AuthorDate: Sat Apr 26 00:05:49 2025 +0900

    Remove usage of `dbg!` (#15858)
---
 datafusion/physical-optimizer/src/pruning.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datafusion/physical-optimizer/src/pruning.rs 
b/datafusion/physical-optimizer/src/pruning.rs
index b62b72ac6d..3f0937173e 100644
--- a/datafusion/physical-optimizer/src/pruning.rs
+++ b/datafusion/physical-optimizer/src/pruning.rs
@@ -28,7 +28,7 @@ use arrow::{
     datatypes::{DataType, Field, Schema, SchemaRef},
     record_batch::{RecordBatch, RecordBatchOptions},
 };
-use log::trace;
+use log::{debug, trace};
 
 use datafusion_common::error::{DataFusionError, Result};
 use datafusion_common::tree_node::TransformedResult;
@@ -1557,7 +1557,7 @@ fn build_predicate_expression(
         // allow partial failure in predicate expression generation
         // this can still produce a useful predicate when multiple conditions 
are joined using AND
         Err(e) => {
-            dbg!(format!("Error building pruning expression: {e}"));
+            debug!("Error building pruning expression: {e}");
             return unhandled_hook.handle(expr);
         }
     };


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to