Generate DISTINCT_SCAN plans for multiplanning

XMLWordPrintableJSON

    • Type: Sub-task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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 Alex Mihai (Inactive)
              Reporter:
              Alya Berciu
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: