Returns true if this pruning predicate can not prune anything. This happens if the predicate is a literal `true` and literal_guarantees is empty. This can happen when a predicate is simplified to a constant `true`
(&self)
| 599 | /// |
| 600 | /// This can happen when a predicate is simplified to a constant `true` |
| 601 | pub fn always_true(&self) -> bool { |
| 602 | is_always_true(&self.predicate_expr) && self.literal_guarantees.is_empty() |
| 603 | } |
| 604 | |
| 605 | pub fn required_columns(&self) -> &RequiredColumns { |
| 606 | &self.required_columns |
no test coverage detected