Function datafusion_physical_expr_common::datum::apply
source · pub fn apply(
lhs: &ColumnarValue,
rhs: &ColumnarValue,
f: impl Fn(&dyn Datum, &dyn Datum) -> Result<ArrayRef, ArrowError>,
) -> Result<ColumnarValue>
Expand description
Applies a binary Datum
kernel f
to lhs
and rhs
This maps arrow-rs’ Datum
kernels to DataFusion’s ColumnarValue
abstraction