You are viewing documentation about an older version (1.1.0). View latest version

snowflake.snowpark.functions.lead

snowflake.snowpark.functions.lead(e: ColumnOrName, offset: int = 1, default_value: Column | LiteralType | None = None, ignore_nulls: bool = False) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/functions.py#L2910-L2923)

Accesses data in a subsequent row in the same result set without having to join the table to itself.