GEN_RANDOM_UUID (Lakehouse v1)
Gera um UUID aleatório baseado na v4.
Sintaxe no Analyze
Seção intitulada “Sintaxe no Analyze”func.gen_random_uuid()Exemplos de SQL
Seção intitulada “Exemplos de SQL”func.gen_random_uuid()
┌───────────────────────────────────────┐│ func.gen_random_uuid() │├───────────────────────────────────────|│ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │└───────────────────────────────────────┘Sintaxe SQL
Seção intitulada “Sintaxe SQL”GEN_RANDOM_UUID()Aliases
Seção intitulada “Aliases”Exemplos de SQL
Seção intitulada “Exemplos de SQL”SELECT GEN_RANDOM_UUID(), UUID();
┌─────────────────────────────────────────────────────────────────────────────┐│ gen_random_uuid() │ uuid() │├──────────────────────────────────────┼──────────────────────────────────────┤│ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │ f88e7efe-1bc2-494b-806b-3ffe90db8f47 │└─────────────────────────────────────────────────────────────────────────────┘