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

Support accumulator initializer expression in HashAgg

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Query Execution
    • Labels:
      None
    • Query Execution

      Each accumulator has an initializer expression that can be used to initialize an accumulator in certain scenarios. One example of this is when DSGroup creates a fresh group, and another is when DSGroup reads spilled accumulator states from disk and re-initializes groups.

      We need a mechanism to initialize agg expressions in sbe. This could be done by augmenting HashAgg to evaluate an initializer expression.

      We can think of other ways as well.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            eric.cox@mongodb.com Eric Cox (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: