GEN_RANDOM_UUID (Lakehouse v1)
Generates a random UUID based on v4.
Analyze Syntax
Section titled “Analyze Syntax”func.gen_random_uuid()SQL Examples
Section titled “SQL Examples”func.gen_random_uuid()
┌───────────────────────────────────────┐│ func.gen_random_uuid() │├───────────────────────────────────────|│ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │└───────────────────────────────────────┘SQL Syntax
Section titled “SQL Syntax”GEN_RANDOM_UUID()Aliases
Section titled “Aliases”SQL Examples
Section titled “SQL Examples”SELECT GEN_RANDOM_UUID(), UUID();
┌─────────────────────────────────────────────────────────────────────────────┐│ gen_random_uuid() │ uuid() │├──────────────────────────────────────┼──────────────────────────────────────┤│ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │└─────────────────────────────────────────────────────────────────────────────┘