RAND (Lakehouse v2)
Returns a random floating-point value between 0 (inclusive) and 1 (exclusive).
Analyze Syntax
Section titled “Analyze Syntax”func.rand([<seed>])Analyze Examples
Section titled “Analyze Examples”func.rand()
┌───────────┐│ 0.6347... │└───────────┘SQL Syntax
Section titled “SQL Syntax”RAND([<seed>])SQL Examples
Section titled “SQL Examples”SELECT RAND();
┌───────────┐│ 0.6347... │└───────────┘