pushdown $group ahead of unpack with $count

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • v7.0, v6.0
    • QE 2023-08-07
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      This is a follow-up ticket to SERVER-78234 to extend the optimization that exists for $group with min/max to $group that uses $count. For v2 buckets we can use control.count, and for v1 buckets we need to compute based on the timeField.

              Assignee:
              Gil Alon
              Reporter:
              Gil Alon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: