Function datafusion::physical_plan::functions::make_scalar_function [−][src]
pub fn make_scalar_function<F>(inner: F) -> ScalarFunctionImplementation where
F: Fn(&[ArrayRef]) -> Result<ArrayRef> + Sync + Send + 'static,
Expand description
decorates a function to handle ScalarValue
s by converting them to arrays before calling the function
and vice-versa after evaluation.