[SERVER-45750] Report stricter list of dependencies for $unionWith stage Created: 24/Jan/20  Updated: 06/Dec/22

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: Backlog - Query Optimization
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Assigned Teams:
Query Optimization
Participants:

 Description   

The $unionWith stage currently reports that it requires the whole document in order to maintain consistency between each branch of the union operation. Conceptually, we could do better (and potentially get a covered plan) if the union stage acted like more of a passthrough case and allowed an inclusion projection of referenced fields to be pushed down to the query system. However, if we were to allow this, it would also be desirable to push this subset of fields to the inner pipeline of the union.


Generated at Thu Feb 08 05:09:37 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.