lead

Description

Return the lead of one column across an ordered group. Default ordering is ascending time, so the lead value is the next value

Return type

any

Domain

This is a window function (calculates over a group of multiple input rows using windowing.)

Categories

Usage

lead( expression, leadby )

Argument

Type

Required

Multiple

expression

any

Required

Only one

leadby

int64

Required

Only one