snowflake.snowpark.functions.lead¶
- snowflake.snowpark.functions.lead(e: Union[Column, str], offset: int = 1, default_value: Union[Column, None, bool, int, float, str, bytearray, Decimal, date, datetime, time, bytes, list, tuple, dict] = None, ignore_nulls: bool = False) Column[source]¶
Accesses data in a subsequent row in the same result set without having to join the table to itself.
Example: