[SERVER-54049] Translate window function AST to execution state for accumulator-style functions Created: 26/Jan/21 Updated: 29/Oct/23 Resolved: 23/Feb/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.9.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Nicholas Zolnierz | Assignee: | Nicholas Zolnierz |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Sprint: | Query Optimization 2021-02-22, Query Optimization 2021-03-08 | ||||
| Participants: | |||||
| Linked BF Score: | 0 | ||||
| Description |
|
Note that this ticket should only handle non-removable position-based windows, as the execution state for such windows already exists for accumulators (AccumulatorState). So the task here is to walk the parsed tree and produce the correct AccumulatorState along with the corresponding window manager to be used by the aggregation stage. The full list of supported accumulators: sum, avg, stddev, min, max, count, first, last, push, addToSet |
| Comments |
| Comment by Githook User [ 23/Feb/21 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: |
| Comment by Githook User [ 23/Feb/21 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: Revert " This reverts commit 8b27b6710d4db7cefb840309903462ed40007402. |
| Comment by Githook User [ 22/Feb/21 ] |
|
Author: {'name': 'Nick Zolnierz', 'email': 'nicholas.zolnierz@mongodb.com', 'username': 'nzolnierzmdb'}Message: |