SERVER-4507 introduces DocumentSource::getOutputSorts(), which allows a DocumentSource to output a set of sort keys that its output is sorted on. At the moment, DocumentSourceCursor (and thus the query subsystem) does not always produce a sort, even if the output is sorted. This is a result of the fact that a PlanExecutor does not always have access to a QuerySolution for a query.
- depends on
-
SERVER-23436 ProjectionNode::getSort() does not propagate a sort from children.
- Closed
- is depended on by
-
SERVER-23318 Streaming $group does not handle nullish values correctly.
- Closed
-
SERVER-23477 Aggregation's streaming $group should become blocking when it evaluates an array field in the _id
- Closed