Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-75673

Allow hashagg stage to take in accumulator initialization expression

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • QE 2023-04-17

      Currently all of the accumulator initialization is performed as part of the accumulation itself. This is not applicable for $topN/$bottomN, because they can take an "n" parameter which varies between groups. We want to extend the hashagg stage so that it can initialize a group based on an expression.

            Assignee:
            rui.liu@mongodb.com Rui Liu
            Reporter:
            rui.liu@mongodb.com Rui Liu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: