Function common_query::function::make_scalar_function

source ยท
pub fn make_scalar_function<F>(inner: F) -> ScalarFunctionImplementation
where F: Fn(&[VectorRef]) -> Result<VectorRef> + 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.