Support lead
, lag
to access the previous or next row
#8962
Labels
component/func-window-agg
Support a SQL window aggregate function
Milestone
Here is a brief description of each of the parameters:
Here is an example of using LAG to calculate the change in value of a column between consecutive rows:
This query calculates the change in value of the value column between consecutive rows, ordered by the timestamp column.
Similarly, you can use LEAD to access the value of a column from the next row within a specific window frame.
The text was updated successfully, but these errors were encountered: