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

Method is_valid

datafusion/optimizer/src/common_subexpr_eliminate.rs:701–704  ·  view source on GitHub ↗
(node: &Expr)

Source from the content-addressed store, hash-verified

699 }
700
701 fn is_valid(node: &Expr) -> bool {
702 !node.is_volatile_node()
703 && !matches!(node, Expr::Lambda(_) | Expr::LambdaVariable(_))
704 }
705
706 fn is_ignored(&self, node: &Expr) -> bool {
707 // MoveTowardsLeafNodes expressions (e.g. get_field) are cheap struct

Callers

nothing calls this directly

Calls 1

is_volatile_nodeMethod · 0.45

Tested by

no test coverage detected