MCPcopy Create free account
hub / github.com/apache/datafusion / is_always_false

Function is_always_false

datafusion/pruning/src/pruning_predicate.rs:703–707  ·  view source on GitHub ↗
(expr: &Arc<dyn PhysicalExpr>)

Source from the content-addressed store, hash-verified

701}
702
703fn 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`].

Callers 1

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…