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]

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 ScalarValues by coverting them to arrays before calling the function and vice-versa after evaluation.