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
-
Activity
Affects Version/s | 10.2.6 [ 22527 ] | |
Issue Type | Bug [ 1 ] | Task [ 3 ] |
Link | This issue is part of MDEV-12987 [ MDEV-12987 ] |
Workflow | MariaDB v3 [ 81068 ] | MariaDB v4 [ 130650 ] |