MCPcopy Create free account
hub / github.com/apache/datafusion / sum

Function sum

datafusion/expr/src/test/function_stub.rs:57–66  ·  view source on GitHub ↗
(expr: Expr)

Source from the content-addressed store, hash-verified

55create_func!(Sum, sum_udaf);
56
57pub fn sum(expr: Expr) -> Expr {
58 Expr::AggregateFunction(AggregateFunction::new_udf(
59 sum_udaf(),
60 vec![expr],
61 false,
62 None,
63 vec![],
64 None,
65 ))
66}
67
68create_func!(Count, count_udaf);
69

Callers 15

list_unnest_at_levelFunction · 0.85
update_batchMethod · 0.85
merge_batchMethod · 0.85
describeMethod · 0.85
test_aggregate_subexprFunction · 0.85
update_batchMethod · 0.85
merge_batchMethod · 0.85
retract_batchMethod · 0.85
update_batchMethod · 0.85

Calls 1

AggregateFunctionClass · 0.50

Tested by

no test coverage detected