Ted-Jiang commented on code in PR #8675:
URL: https://github.com/apache/arrow-datafusion/pull/8675#discussion_r1438093749


##########
datafusion/core/src/physical_optimizer/pruning.rs:
##########
@@ -380,6 +385,11 @@ impl BoolVecBuilder {
     fn build(self) -> Vec<bool> {
         self.inner
     }
+
+    /// Check all containers has rows that DEFINITELY DO NOT pass the predicate
+    fn check_all_pruned(&self) -> bool {
+        self.inner.iter().all(|&x| !x)

Review Comment:
   From above
   ```rust
       /// One element per container. Each element is
       /// * `true`: if the container has row that may pass the predicate
       /// * `false`: if the container has rows that DEFINITELY DO NOT pass the 
predicate
   ```



-- 
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