Hey! I think this question is better suited for the user mailing list.
Your solution should work, but will require a lot of memory if you
can't use an incrementally aggregating window (e.g. fold/reduce/etc.).
– Ufuk
On Thu, Apr 13, 2017 at 7:39 AM, madhairsilence <
[hidden email]> wrote: