Details
-
New Feature
-
Status: Open (View Workflow)
-
Major
-
Resolution: Unresolved
-
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
-
-
MDEV-28906 MySQL 8.0 desired compatibility
-
- Open
-
- relates to
-
MDEV-39358 MariaDB Rejects NULL Literal as Default Argument in LAG Window Function
-
- Closed
-