Description
RunningAggregate (1)
The running aggregate operator takes an input record and adds appends a set of running aggregations and outputs the resulting record. The aggregations are re-evaluated on each record within the incoming segment in the order they are provided. Segment focus can be defined with the ‘within’ value such that aggregations are reset at each segment boundary.
{ @id†: <opref>, op: “runningaggregate”,
input†: <input>,
within*: <name>,
aggregations: [
{ref: <name>, expr: <aggexpr> }
,...
]
}