When using COLLSCAN for distinct it should not add PROJECTION_SIMPLE

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • QI 2023-11-27, QI 2023-12-11
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Irina Yatsenko (Inactive)
              Reporter:
              Irina Yatsenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: