snowflake.snowpark.functions.random¶
- snowflake.snowpark.functions.random(seed: Optional[int] = None) Column [source] (https://github.com/snowflakedb/snowpark-python/blob/v1.26.0/snowpark-python/src/snowflake/snowpark/functions.py#L1764-L1785)¶
Each call returns a pseudo-random 64-bit integer.
- Example::
>>> df = session.sql("select 1") >>> df = df.select(random(123).alias("result"))