[SERVER-23099] Always propagate cursor output sort to aggregation. Created: 11/Mar/16 Updated: 16/May/16 Resolved: 26/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Querying |
| Affects Version/s: | None |
| Fix Version/s: | 3.3.6 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Benjamin Murphy | Assignee: | Benjamin Murphy |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||
| Sprint: | Query 12 (04/04/16), Query 13 (04/22/16), Query 14 (05/13/16) | ||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
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. |
| Comments |
| Comment by Githook User [ 26/Apr/16 ] |
|
Author: {u'username': u'benjaminmurphy', u'name': u'Benjamin Murphy', u'email': u'benjamin_murphy@me.com'}Message: |