Skip to main content

find_between

Function find_between 

Source
pub fn find_between(expr: BoundExpression) -> VortexResult<BoundExpression>
Expand description

Merge pairs of range comparisons on the same column within any conjunction of expr into a single Between.

This is not an optimizer rule because it is worth running only once, on a scan’s filter. Subtrees without a match keep their identity, so an expression without any match is returned unchanged.