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

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 9046a8aca minor: improve debug logging for pruning predicates (#4736)
9046a8aca is described below

commit 9046a8aca5b9978b3f4d57a658d61c3ede06b029
Author: Andrew Lamb <[email protected]>
AuthorDate: Tue Dec 27 07:30:12 2022 -0500

    minor: improve debug logging for pruning predicates (#4736)
---
 datafusion/core/src/physical_plan/file_format/parquet.rs | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/datafusion/core/src/physical_plan/file_format/parquet.rs 
b/datafusion/core/src/physical_plan/file_format/parquet.rs
index f9afc7997..a8d3002a9 100644
--- a/datafusion/core/src/physical_plan/file_format/parquet.rs
+++ b/datafusion/core/src/physical_plan/file_format/parquet.rs
@@ -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
                 }

Reply via email to