Re-exports§
pub use self::accumulator::Accumulator;
pub use self::accumulator::AggregateFunctionCreator;
pub use self::accumulator::AggregateFunctionCreatorRef;
Modules§
- Accumulator module contains the trait definition for aggregation function’s accumulators.
- expr 🔒
- udaf 🔒Udaf module contains functions and structs supporting user-defined aggregate functions.
- udf 🔒Udf module contains foundational types that are used to represent UDFs. It’s modified from datafusion.
Structs§
- Logical representation of a user-defined aggregate function (UDAF) A UDAF is different from a UDF in that it is stateful across batches.
- Logical representation of a UDF.
Traits§
- The datafusion
[LogicalPlan]
decoder.
Functions§
- Creates a new UDF with a specific signature and specific return type. This is a helper function to create a new UDF. The function
create_udf
returns a subset of all possibleScalarFunction
: - Rename columns by applying a new projection. Returns an error if the column to be renamed does not exist. The
renames
parameter is aVector
with elements in the form of(old_name, new_name)
.