Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-23099

Always propagate cursor output sort to aggregation.

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.6
    • Affects Version/s: None
    • Component/s: Querying
    • None
    • Fully Compatible
    • Query 12 (04/04/16), Query 13 (04/22/16), Query 14 (05/13/16)

      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.

            Assignee:
            benjamin.murphy Benjamin Murphy
            Reporter:
            benjamin.murphy Benjamin Murphy
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: