Re-exports§
pub use self::accumulator::Accumulator;
pub use self::accumulator::AggregateFunctionCreator;
pub use self::accumulator::AggregateFunctionCreatorRef;
Modules§
- accumulator
- Accumulator module contains the trait definition for aggregation function’s accumulators.
- expr 🔒
- udaf 🔒
- Udaf module contains functions and structs supporting user-defined aggregate functions.
Structs§
- Aggregate
Function - Logical representation of a user-defined aggregate function (UDAF) A UDAF is different from a UDF in that it is stateful across batches.
Traits§
- Substrait
Plan Decoder - The datafusion
[LogicalPlan]
decoder.
Functions§
- add_
insert_ to_ logical_ plan - create a
insert into table_name <input>
logical plan - breakup_
insert_ plan - Convert a insert into logical plan to an (table_name, logical_plan) where table_name is the name of the table to insert into. logical_plan is the plan to be executed.
- build_
filter_ from_ timestamp - Builds an
Expr
that filters timestamp column from given timestamp range. Returns None if time range is None or full time range. - build_
same_ type_ ts_ filter - Builds a filter for a timestamp column with the same type as the timestamp column. Returns None if time range is None or full time range.
- create_
aggregate_ function - rename_
logical_ plan_ columns - 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)
.