[SERVER-57899] Make it more convenient to switch on type of AccumulatorStatement Created: 21/Jun/21 Updated: 29/Oct/23 Resolved: 30/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 5.1.0-rc0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Ian Boros | Assignee: | Andrii Dobroshynski (Inactive) |
| 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 Execution 2021-06-28, Query Execution 2021-07-12 | ||||||||
| Participants: | |||||||||
| Description |
|
At the moment there is no easy way to switch on the type of an AccumulationStatement. This is because the information about the true/runtime "type" of the accumulator is hidden inside a factory function. Before creating an SBE stage builder for accumulators we should make it convenient to do a visitor-like pattern on accumulators. We'll need to talk to QO to figure out the best way to do this. |
| Comments |
| Comment by Vivian Ge (Inactive) [ 06/Oct/21 ] |
|
Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you! |
| Comment by Githook User [ 30/Jun/21 ] |
|
Author: {'name': 'Andrii Dobroshynski', 'email': 'andrii.dobroshynski@mongodb.com', 'username': 'dobroshynski'}Message: |