LAST_K
Gets the last k
values per group.
Syntax
Arguments
K
K
Type: integer
Default: 1
(Optional) The number of values to return.
VALUE
VALUE
Type: any
The field to get the last value(s) of.
Returns
Type: array
Returns an array of the last K
values of VALUE
seen for each group.
Last updated