Function datafusion_physical_expr::functions::make_scalar_function
source · pub fn make_scalar_function<F>(inner: F) -> ScalarFunctionImplementationwhere
F: Fn(&[ArrayRef]) -> Result<ArrayRef> + Sync + Send + 'static,Expand description
decorates a function to handle ScalarValues by converting them to arrays before calling the function
and vice-versa after evaluation.