Closed
Description
Today, the moving function pipeline aggregation operates in a "left-aligned" exclusive mode; the window that is offered for calculation is the last n
values excluding the current bucket.
It's not uncommon to want the window to be inclusive (include the current bucket's value in the window). Other alignments are also useful, such as center (n/2
values before and after the current bucket) and right (n
values after the current bucket).
I'm not entirely sure how we should expose these options in the API, but it would be helpful if we can provide more flexibility here.
Relates to #20667