Details
-
Task
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
None
-
None
Description
ColumnStore and other database vendor implementations support a default parameter for the lead and lag window functions. The standard syntax is:
LAG (value_expression [,offset] [,default])
LEAD (value_expression [,offset] [,default])
where the optional default is the value returned should the offset be outside of the window frame. If unspecified then NULL is used.
Attachments
Issue Links
- blocks
-
MCOL-646 MariaDB 10.2 WF Add the default option to LEAD/LAG
- Closed
- is part of
-
MDEV-12987 complete window function support for columnstore parity
- Open