Skip to content

Commit a9672b4

Browse files
phillipleblancNirnay Roy
authored andcommitted
Remove usage of dbg! (apache#15858)
1 parent 8518877 commit a9672b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

datafusion/physical-optimizer/src/pruning.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ use arrow::{
2828
datatypes::{DataType, Field, Schema, SchemaRef},
2929
record_batch::{RecordBatch, RecordBatchOptions},
3030
};
31-
use log::trace;
31+
use log::{debug, trace};
3232

3333
use datafusion_common::error::{DataFusionError, Result};
3434
use datafusion_common::tree_node::TransformedResult;
@@ -1557,7 +1557,7 @@ fn build_predicate_expression(
15571557
// allow partial failure in predicate expression generation
15581558
// this can still produce a useful predicate when multiple conditions are joined using AND
15591559
Err(e) => {
1560-
dbg!(format!("Error building pruning expression: {e}"));
1560+
debug!("Error building pruning expression: {e}");
15611561
return unhandled_hook.handle(expr);
15621562
}
15631563
};

0 commit comments

Comments
 (0)