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

Refactor 'n' family of accumulators

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Query Execution
    • QE 2021-12-13, QE 2022-01-10, QE 2022-01-24, QE 2022-05-16, QE 2022-05-30, QE 2022-06-13, QE 2022-06-27, QE 2022-07-11, QE 2022-07-25, QE 2022-08-08, QE 2022-08-22

      Once they are implemented, there is some work that can be done to refactor the new set of 'n' accumulators, expressions and window functions. Some ideas include:

      • Refactoring firstN/lastN/minN/maxN to share a common serialize() function.
      • Refactoring firstN/lastN/minN/maxN to take their sense as a template argument instead of as a member variable.

            Assignee:
            backlog-query-execution [DO NOT USE] Backlog - Query Execution
            Reporter:
            raunak.chowdhury@mongodb.com Raunak Chowdhury (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: