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]) -> Result<ColumnarValue, DataFusionError> + Sync + Send, Global>where
    F: Fn(&[Arc<dyn Array, Global>]) -> Result<Arc<dyn Array, Global>, DataFusionError> + 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.