ARRAYS_ZIP (Lakehouse v2)
Fusionne plusieurs tableaux en un tableau de structures.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.arrays_zip([1,2], ['a','b'])Exemples Analyze
Section intitulée « Exemples Analyze »func.arrays_zip([1, 2, 3], ['a', 'b', 'c'])
┌───────────────────────────┐│ [{1,'a'},{2,'b'},{3,'c'}] │└───────────────────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAYS_ZIP([1,2], ['a','b'])Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAYS_ZIP([1, 2, 3], ['a', 'b', 'c']);
┌───────────────────────────────────────────────────┐│ [{"0":1,"1":"a"},{"0":2,"1":"b"},{"0":3,"1":"c"}] │└───────────────────────────────────────────────────┘