Macro make_udf_function

Source
macro_rules! make_udf_function {
    ($UDF:ty, $NAME:ident) => { ... };
}
Expand description

Creates a singleton ScalarUDF of the $UDF function and a function named $NAME which returns that singleton.

This is used to ensure creating the list of ScalarUDF only happens once.