Skip to main content

union_child_validities

Function union_child_validities 

Source
pub fn union_child_validities(
    expression: &Expression,
) -> VortexResult<Option<Expression>>
Expand description

The conjunction of an expression’s child validities — i.e. the validity of a scalar function whose result is null exactly when any operand is null.

This is the ScalarFnVTable::validity for kernels that propagate nulls and never produce a null from non-null inputs (comparisons, arithmetic, most geo and tensor ops). Returning it lets the planner derive the output’s null mask without executing the kernel. Yields None when the expression has no children.