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

snowflake.snowpark.functions.random

snowflake.snowpark.functions.random(seed: int | None = 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