make_math_binary_udf

Macro make_math_binary_udf 

Source
macro_rules! make_math_binary_udf {
    ($UDF:ident, $NAME:ident, $BINARY_FUNC:ident, $OUTPUT_ORDERING:expr, $GET_DOC:expr) => { ... };
}
Expand description

Macro to create a binary math UDF.

A binary math function takes two arguments of types Float32 or Float64, applies a binary floating function to the argument, and returns a value of the same type.

$UDF: the name of the UDF struct that implements ScalarUDFImpl $NAME: the name of the function $BINARY_FUNC: the binary function to apply to the argument $OUTPUT_ORDERING: the output ordering calculation method of the function $GET_DOC: the function to get the documentation of the UDF