crepererum commented on code in PR #5419:
URL: https://github.com/apache/arrow-datafusion/pull/5419#discussion_r1120486601


##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -187,7 +170,7 @@ impl PruningPredicate {
         // in the predicate means we don't know for sure if the row
         // group can be filtered out or not. To maintain correctness
         // the row group must be kept and thus `true` is returned.
-        match self.predicate_expr.evaluate(&statistics_batch)? {
+        match self.predicate_expr.evaluate(&statistics_batch).expect("bug") {

Review Comment:
   ah, this is debug code, I HAVE TO remove this before merging.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to