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::functions::utils - Rust
[go: Go Back, main page]

Function make_scalar_function

Source
pub fn make_scalar_function<F>(
    inner: F,
    hints: Vec<Hint>,
) -> impl Fn(&[ColumnarValue])
where F: Fn(&[Arc<dyn Array>]) -> Result<Arc<dyn Array>, DataFusionError>,
Expand description

Creates a scalar function implementation for the given function.

  • inner - the function to be executed
  • hints - hints to be used when expanding scalars to arrays