[SERVER-71940] Support visiting nested pipelines in DocumentSourceWalker Created: 07/Dec/22 Updated: 08/Dec/22 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Ben Shteinfeld | Assignee: | Backlog - Query Optimization |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Optimization
|
||||||||
| Participants: | |||||||||
| Description |
|
DocumentSourceWalker currently iterates over all Document Sources in the top-level pipeline. This is currently sufficient for ABT translation which is the only user of DocumentSourceWalker. The ability to visit all stages in sub-pipelines (like $unionWith or $lookup) could be a nice to have for future use-cases. |