[SERVER-70243] Delete top level and optimization in SBE stage builder Created: 05/Oct/22 Updated: 09/Dec/22 Resolved: 09/Dec/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Mihai Andrei | Assignee: | Drew Paroski |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | pm2697-m2 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Sprint: | QE 2022-12-12 | ||||||||
| Participants: | |||||||||
| Story Points: | 2 | ||||||||
| Description |
|
Currently, we have code in the stage builder that, for top level $and with 25 children or less, will stack filter stages for each child of the $and. Given that we are moving away from stages in the filter stage builder, we should remove this optimization so that top level $ands can be implemented as chains of binary AND expressions. |
| Comments |
| Comment by David Storch [ 09/Dec/22 ] |
|
andrew.paroski@mongodb.com I'm guessing that you are planning to do this work under |