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

Implement registration and basic parsing/serializing mechanism for window functions

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • Query 2021-01-11, Query 2021-01-25, Query 2021-02-08

      Similar to expressions and accumulators, this ticket will expose a new registration macro for functions and their associated parser.

      The registered parser should return an instance of a class which holds the following:

      • Window definition
      • Parsed input expression
      • Additional function-specific arguments (e.g. 'default' for $shift)
      • Factory methods capable of producing executable window function state. Note that the window function state is not built (at the time of this ticket) so a placeholder may be fine.

            Assignee:
            david.percy@mongodb.com David Percy
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: