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

snowflake.snowpark.functions.random¶

snowflake.snowpark.functions.random(seed: Optional[int] = None) → Column[source]¶

Each call returns a pseudo-random 64-bit integer.

Example::
>>> df = session.sql("select 1")
>>> df = df.select(random(123).alias("result"))
Copy