pub fn create_udf(function: FunctionRef) -> ScalarUDF
Create a ScalarUdf from function, query context and state.