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

Translate window function AST to execution state for accumulator-style functions

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • None
    • None
    • Fully Compatible
    • Query Optimization 2021-02-22, Query Optimization 2021-03-08
    • 0

    Description

      Note that this ticket should only handle non-removable position-based windows, as the execution state for such windows already exists for accumulators (AccumulatorState). So the task here is to walk the parsed tree and produce the correct AccumulatorState along with the corresponding window manager to be used by the aggregation stage.

      The full list of supported accumulators: sum, avg, stddev, min, max, count, first, last, push, addToSet

      Attachments

        Activity

          People

            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: