Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
make_scalar_function in datafusion::physical_plan::functions - Rust
[go: Go Back, main page]

pub fn make_scalar_function<F>(
    inner: F
) -> Arc<dyn Fn(&[ColumnarValue]) + Sync + Send + 'static>where
    F: 'static + Fn(&[Arc<dyn Array + 'static>]) -> Result<Arc<dyn Array + 'static>, DataFusionError> + Sync + Send,
Expand description

decorates a function to handle ScalarValues by converting them to arrays before calling the function and vice-versa after evaluation.