(expr: &Arc<dyn PhysicalExpr>)
| 701 | } |
| 702 | |
| 703 | fn is_always_false(expr: &Arc<dyn PhysicalExpr>) -> bool { |
| 704 | expr.downcast_ref::<phys_expr::Literal>() |
| 705 | .map(|l| matches!(l.value(), ScalarValue::Boolean(Some(false)))) |
| 706 | .unwrap_or_default() |
| 707 | } |
| 708 | |
| 709 | /// Describes which columns statistics are necessary to evaluate a |
| 710 | /// [`PruningPredicate`]. |
no test coverage detected
searching dependent graphs…