Module function_stub

Source
Expand description

Aggregate function stubs for test in expr / optimizer.

These are used to avoid a dependence on datafusion-functions-aggregate which live in a different crate

Structs§

Avg
Testing stub implementation of avg aggregate
Count
Testing stub implementation of COUNT aggregate
Max
Testing stub implementation of MAX aggregate
Min
Testing stub implementation of Min aggregate
Sum
Stub sum used for optimizer testing

Functions§

avg
avg_udaf
AggregateFunction that returns a AggregateUDF for Avg
count
count_udaf
AggregateFunction that returns a AggregateUDF for Count
max
max_udaf
AggregateFunction that returns a AggregateUDF for Max
min
min_udaf
AggregateFunction that returns a AggregateUDF for Min
sum
sum_udaf
AggregateFunction that returns a AggregateUDF for Sum