alamb commented on code in PR #15764:
URL: https://github.com/apache/datafusion/pull/15764#discussion_r2051508562


##########
datafusion/physical-optimizer/src/pruning.rs:
##########
@@ -1544,7 +1572,10 @@ fn build_predicate_expression(
         Ok(builder) => builder,
         // allow partial failure in predicate expression generation
         // this can still produce a useful predicate when multiple conditions 
are joined using AND
-        Err(_) => return unhandled_hook.handle(expr),
+        Err(e) => {
+            dbg!(format!("Error building pruning expression: {e}"));

Review Comment:
   I recommend changing this to `debug!` (dbug logging rather than printing to 
stdout on failure)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to