[SERVER-75673] Allow hashagg stage to take in accumulator initialization expression Created: 04/Apr/23 Updated: 29/Oct/23 Resolved: 05/Apr/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.0.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rui Liu | Assignee: | Rui Liu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QE 2023-04-17 |
| Participants: |
| Description |
|
Currently all of the accumulator initialization is performed as part of the accumulation itself. This is not applicable for $topN/$bottomN, because they can take an "n" parameter which varies between groups. We want to extend the hashagg stage so that it can initialize a group based on an expression. |
| Comments |
| Comment by Githook User [ 05/Apr/23 ] |
|
Author: {'name': 'Rui Liu', 'email': 'lriuui0x0@gmail.com', 'username': 'lriuui0x0'}Message: |