[SERVER-48721] [SBE] $returnKey support Created: 04/May/20 Updated: 29/Oct/23 Resolved: 16/Jul/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Justin Seyster | Assignee: | Justin Seyster |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Query 2020-05-18, Query 2020-06-01, Query 2020-06-15, Query 2020-06-29, Query 2020-07-13, Query 2020-07-27 | ||||||||
| Participants: | |||||||||
| Description |
|
Allow the SBE planner to construct a plan that honors the "returnKey" option in find commands, causing it to return the expanded index entry for each document it would have returned instead of returning the document itself. This work also involves fleshing out the mongo::sbe::IndexScanStage so that it can populate slots with index key components. |
| Comments |
| Comment by Githook User [ 17/Jul/20 ] |
|
Author: {'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}Message: |
| Comment by Githook User [ 16/Jul/20 ] |
|
Author: {'name': 'Justin Seyster', 'email': 'justin.seyster@mongodb.com', 'username': 'jseyster'}Message: |
| Comment by David Storch [ 11/Jun/20 ] |
|
justin.seyster could you add a description to this ticket when you get a chance? |