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,
decorates a function to handle ScalarValue
s by coverting them to arrays before calling the function
and vice-versa after evaluation.