Window function: returns the value that is offset rows after the current row, with default value.
The column name or Column to compute lead for
The number of rows to look ahead
Default value when the offset is beyond the window
A Column representing the lead value
Window function: returns the value that is offset rows after the current row, with default value and null handling.
The column name or Column to compute lead for
The number of rows to look ahead
Default value when the offset is beyond the window
Whether to skip null values
A Column representing the lead value
Window function: returns the value that is
offsetrows after the current row.