The simple aggregate ungrouped calling pattern totals the input values of all rows and produces a result.
_start_extfn(cntxt) _reset_extfn(cntxt) _next_value_extfn(cntxt, args) -- input a=1 _next_value_extfn(cntxt, args) -- input a=2 _next_value_extfn(cntxt, args) -- input a=3 _next_value_extfn(cntxt, args) -- input a=4 _next_value_extfn(cntxt, args) -- input a=5 _next_value_extfn(cntxt, args) -- input a=6 _evaluate_extfn(cntxt, args) -- returns 21 _finish_extfn(cntxt)