-
Type: Task
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Querying
-
None
-
Query
In SERVER-24860 an optimization was added to skip the aggregation and answer the pipeline using just a query plan, if the pipeline can be collapsed into a single $cursor stage. Currently a pipeline with a $project stage can be collapsed if we can generated a covered query plan. We should be able to extend it to uncovered plans and collapse the $project stage, if it is a simple projection without complex pipeline expressions.
- is duplicated by
-
SERVER-42905 Push down user-specified projections to PlanStage layer if possible
- Closed
- related to
-
SERVER-44216 Complete TODO listed in SERVER-40254
- Closed
-
SERVER-24860 Optimize away entire pipeline if it can be answered using a query
- Closed