Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-92456 Multiplan DISTINCT_SCANs
  3. SERVER-92616

Generate DISTINCT_SCAN plans for multiplanning

    • Type: Icon: Sub-task Sub-task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • Fully Compatible
    • QO 2024-08-05, QO 2024-08-19, QO 2024-09-02, QO 2024-09-16

      We should modify QueryPlanner:: plan to try to convert eligible index scan plans to distinct scan plans when:

      • the feature flag is enabled
      • it encounters a CanonicalQuery with a distinct() property

      Then add unit tests to verify that we generate appropriate plans.

            Assignee:
            eduard.alexmihai@mongodb.com Eduard Alex Mihai (Inactive)
            Reporter:
            alya.berciu@mongodb.com Alya Berciu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: