[SERVER-83545] When using COLLSCAN for distinct it should not add PROJECTION_SIMPLE Created: 22/Nov/23 Updated: 07/Dec/23 Resolved: 07/Dec/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.3.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Irina Yatsenko (Inactive) | Assignee: | Irina Yatsenko (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | QI 2023-11-27, QI 2023-12-11 |
| Participants: |
| Description |
|
When there are no candidate indexes for distinct scan, getExecutorDistinct() removes the projection but if there is a candidate index (e.g. {x: 1, a: 1}for distinct("a")) the projection isn't stripped. |
| Comments |
| Comment by Githook User [ 07/Dec/23 ] |
|
Author: {'name': 'Irina Yatsenko', 'email': 'irina.yatsenko@mongodb.com', 'username': 'IrinaYatsenko'}Message: GitOrigin-RevId: 8fb7ab2ea4edf2906ab1c7305793dd04978424da |