datafusion_physical_expr_common::datum

Function apply_cmp

Source
pub fn apply_cmp(
    lhs: &ColumnarValue,
    rhs: &ColumnarValue,
    f: impl Fn(&dyn Datum, &dyn Datum) -> Result<BooleanArray, ArrowError>,
) -> Result<ColumnarValue>
Expand description

Applies a binary Datum comparison kernel f to lhs and rhs