random
function
Applies to: Databricks SQL
Databricks Runtime
Returns a random value between 0 and 1.
Returns
A DOUBLE.
The function generates pseudo random results with independent and identically distributed uniformly distributed values in [0, 1)
.
This function is non-deterministic.
rand is a synonym for random function.