Skip to content

Commit

Permalink
minor: improve debug logging for pruning predicates (#4736)
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb authored Dec 27, 2022
1 parent 38a24c0 commit 9046a8a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion datafusion/core/src/physical_plan/file_format/parquet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,10 @@ impl ParquetExec {
match PagePruningPredicate::try_new(predicate_expr, file_schema.clone()) {
Ok(pruning_predicate) => Some(Arc::new(pruning_predicate)),
Err(e) => {
debug!("Could not create page pruning predicate for: {}", e);
debug!(
"Could not create page pruning predicate for '{:?}': {}",
pruning_predicate, e
);
predicate_creation_errors.add(1);
None
}
Expand Down

0 comments on commit 9046a8a

Please sign in to comment.