MCPcopy Create free account
hub / github.com/MaterializeInc/materialize / could_error

Method could_error

src/expr/src/linear.rs:1700–1703  ·  view source on GitHub ↗

Returns true if evaluation could introduce an error on non-error inputs.

(&self)

Source from the content-addressed store, hash-verified

1698
1699 /// Returns true if evaluation could introduce an error on non-error inputs.
1700 pub fn could_error(&self) -> bool {
1701 self.mfp.predicates.iter().any(|(_pos, e)| e.could_error())
1702 || self.mfp.expressions.iter().any(|e| e.could_error())
1703 }
1704 }
1705
1706 impl<E: OptimizableExpr> std::ops::Deref for SafeMfpPlan<E> {

Callers 3

unaryMethod · 0.45
binaryMethod · 0.45
variadicMethod · 0.45

Calls 2

anyMethod · 0.80
iterMethod · 0.45

Tested by

no test coverage detected