Expand description
Deprecated module. Add new feature in scalar_function.rs
This module contains built-in functions’ enumeration and metadata.
Generally, a function has:
-
a signature
-
a return type, that is a function of the incoming argument’s types
-
the computation, that must accept each valid signature
-
Signature: see
Signature
-
Return type: a function
(arg_types) -> return_type
. E.g. for sqrt, (f32) -> f32, (f64) -> f64.
This module also supports coercion to improve user experience: if an argument i32 is passed to a function that supports f64, the argument is automatically is coerced to f64.
Enums§
Functions§
- columnar_
values_ to_ array Deprecated - Create a physical expression for the UDF.
- make_
scalar_ function Deprecated Decorates a function to handleScalarValue
s by converting them to arrays before calling the function and vice-versa after evaluation. Note that this function makes a scalar function with no arguments or all scalar inputs return a scalar. That’s said its output will be same for all input rows in a batch.