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

Support accumulator initializer expression in HashAgg

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Query Execution
    • None

    Description

      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.

      Attachments

        Activity

          People

            backlog-query-execution Backlog - Query Execution
            eric.cox@mongodb.com Eric Cox
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: