frame_following

frame_following() -> frame

Specifies a cumulative time frame for a window context, where the frame is the current row through the end of the query frame.

Equivalent to frame_exact(back: 0s, end: query_end_time())

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col sum_to_end:window(sum(load), frame_following())

Compute the sum of the load, with the window for each row being the row through the end of the current query window.