[SERVER-53399] Implement registration and basic parsing/serializing mechanism for window functions Created: 16/Dec/20  Updated: 29/Oct/23  Resolved: 04/Feb/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.9.0

Type: Task Priority: Major - P3
Reporter: Nicholas Zolnierz Assignee: David Percy
Resolution: Fixed Votes: 0
Labels: wf-m1
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-54163 Error on bounded windows without an e... Closed
is duplicated by SERVER-54164 Error if lower bound is greater than ... Closed
is duplicated by SERVER-54165 Error if window bounds are not integr... Closed
is duplicated by SERVER-54166 Error if sortBy is not over exactly o... Closed
Problem/Incident
causes SERVER-55180 Remove StringData <=> std::string_vie... Closed
Backwards Compatibility: Fully Compatible
Sprint: Query 2021-01-11, Query 2021-01-25, Query 2021-02-08
Participants:

 Description   

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.


 Comments   
Comment by Githook User [ 04/Feb/21 ]

Author:

{'name': 'David Percy', 'email': 'david.percy@mongodb.com', 'username': 'dpercy'}

Message: SERVER-53399 Parse individual window functions
Branch: master
https://github.com/mongodb/mongo/commit/c7c16d3c6fdcb24bde8a014b0ca2c0d4650ce9d2

Generated at Thu Feb 08 05:30:48 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.