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

Method evaluate_bounds

datafusion/physical-expr/src/expressions/binary.rs:408–414  ·  view source on GitHub ↗
(&self, children: &[&Interval])

Source from the content-addressed store, hash-verified

406 }
407
408 fn evaluate_bounds(&self, children: &[&Interval]) -> Result<Interval> {
409 // Get children intervals:
410 let left_interval = children[0];
411 let right_interval = children[1];
412 // Calculate current node's interval:
413 apply_operator(&self.op, left_interval, right_interval)
414 }
415
416 fn propagate_constraints(
417 &self,

Callers 2

Calls 1

apply_operatorFunction · 0.85

Tested by 2