Skip to main content

ensure_not_interleaved

Function ensure_not_interleaved 

Source
fn ensure_not_interleaved(input: &NativeNode) -> Result<()>
Expand description

Checks that input, when it is a NativeExpr::Input, does not declare interleaved series.

A native evaluation reads one series to its last chunk before the next: a range evaluator folds a series completely before it starts another, and an instant selection’s consumer collects one series’ chunks into one buffer. Neither can be handed chunks of different series that interleave, which is the one rule both consumers state. Only an input node carries an ordering, so only there is there one to check.