Module function

Module function 

Source

Structs§

FunctionContext
The function execution context

Traits§

Function
Scalar function trait, modified from databend to adapt datafusion TODO(dennis): optimize function by it’s features such as monotonicity etc.

Functions§

extract_args 🔒
Extract UDF arguments (as Arrow’s [ArrayRef]) from [ScalarFunctionArgs] directly.
find_function_context 🔒
Find the FunctionContext in the [ScalarFunctionArgs]. The FunctionContext was set previously in the DataFusion session context creation, and is passed all the way down to the args by DataFusion.

Type Aliases§

FunctionRef