Use DISTINCT_SCAN with $top/$bottom accumulators

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0, 8.0.0-rc4
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • v8.0
    • QI 2024-04-01, QI 2024-04-15, QI 2024-04-29, QI 2024-05-13
    • 33
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently we only use DISTINCT_SCAN in a $group for last and first accumulators following a sort. Expand to also use DISTINCT_SCAN for top and bottom accumulators.

              Assignee:
              Yoon Soo Kim (Inactive)
              Reporter:
              Naama Bareket
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: