-
Notifications
You must be signed in to change notification settings - Fork 8.3k
runningAccumulate function with reset key #6528
Copy link
Copy link
Closed
Labels
Description
Use case
We have runningAccumulate function to perform cumulative aggregations, for example: number of distinct users from the begginning up to each day. What if we want to reset accumulations for each month - to calculate number of distinct users from the first day of month up to each day of that month?
Describe the solution you'd like
Add a second parameter - "reset key". If it changes, reset the accumulator.
Reactions are currently unavailable