-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
-
QI 2023-11-27, QI 2023-12-11
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.