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