slug | title | description | keywords | sidebar_label | |||||
---|---|---|---|---|---|---|---|---|---|
/examples/aggregate-function-combinators/avgMerge |
avgMerge |
Example of using the avgMerge combinator |
|
avgMerge |
The Merge
combinator
can be applied to the avg
function to produce a final result by combining partial aggregate states.
The Merge
combinator is closely related to the State
combinator. Refer to
"avgState example usage"
for an example of both avgMerge
and avgState
.