[SERVER-80563] Push $unwind aggregation stage down to SBE Created: 30/Aug/23 Updated: 06/Nov/23 Resolved: 02/Nov/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.2.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Kevin Cherkauer | Assignee: | Kevin Cherkauer |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Participants: | |||||
| Linked BF Score: | 155 | ||||
| Description |
|
Planner Updates Update planner to push down $unwinds in eligible prefixes. Stage Builder Updates Update stage builder to build pushed-down $unwind stages. Encode pushed down $unwind stages in the plan cache key (canonical_query_encoder.cpp encodePipeline()).' Many tests examine explain output, some instances of which will change when $unwind is pushed down so will need alternate expected results based on featureFlagSbeFull during development. The old expected results will be removed along with featureFlagSbeFull when the feature is complete. |
| Comments |
| Comment by Githook User [ 02/Nov/23 ] |
|
Author: {'name': 'Kevin Cherkauer', 'email': 'kevin.cherkauer@mongodb.com', 'username': 'kevin-cherkauer'}Message: |