Skip to main content

scalar_histogram_udf

Function scalar_histogram_udf 

Source
fn scalar_histogram_udf<F>(
    name: &'static str,
    extra_input_types: Vec<DataType>,
    calc: F,
) -> ScalarUDF
where F: Fn(&NativeHistogram, &[ColumnarValue], usize, usize, &'static str) -> Result<f64> + Send + Sync + 'static,