(expr: &Arc<dyn PhysicalExpr>)
| 695 | } |
| 696 | |
| 697 | fn is_always_true(expr: &Arc<dyn PhysicalExpr>) -> bool { |
| 698 | expr.downcast_ref::<phys_expr::Literal>() |
| 699 | .map(|l| matches!(l.value(), ScalarValue::Boolean(Some(true)))) |
| 700 | .unwrap_or_default() |
| 701 | } |
| 702 | |
| 703 | fn is_always_false(expr: &Arc<dyn PhysicalExpr>) -> bool { |
| 704 | expr.downcast_ref::<phys_expr::Literal>() |
no test coverage detected
searching dependent graphs…