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.
- causes
-
SERVER-55180 Remove StringData <=> std::string_view implicit conversions
- Closed
- is duplicated by
-
SERVER-54163 Error on bounded windows without an explicit sortBy field
- Closed
-
SERVER-54164 Error if lower bound is greater than upper bound
- Closed
-
SERVER-54165 Error if window bounds are not integral for certain time-based windows
- Closed
-
SERVER-54166 Error if sortBy is not over exactly one field for range/time-based windows
- Closed