[SERVER-77601] Support sort keys in clustered collection scans in SBE Created: 30/May/23 Updated: 14/Jun/23 |
|
| Status: | Backlog |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Gil Alon | Assignee: | Backlog - Query Execution |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Query Execution
|
||||||||
| Participants: | |||||||||
| Description |
|
The generated plan is MERGE_SORT with 2 CLUSTERED_IXSCAN children. In SBE this tassert is hit, but this generated plan works in classic. Therefore, SBE should support these plans and support sort keys when building clustered collection scans. |
| Comments |
| Comment by Gil Alon [ 06/Jun/23 ] |
|
kevin.cherkauer@mongodb.com my mistake. The link you sent is what I meant, and I just updated the ticket description. |
| Comment by Kevin Cherkauer [ 06/Jun/23 ] |
|
ana.meza@mongodb.com This is not related to my project PM-3161 Support clustered collections in SBE, but to gil.alon@mongodb.com Note the code you highlighted with the "tassert" link above isn't actually a tassert – it is a comment in a method that has no tasserts in it, so it must be the wrong link. Maybe you meant this line? |
| Comment by Ana Meza [ 06/Jun/23 ] |
|
kevin.cherkauer@mongodb.com wondering if this is related to your project. |