ARRAY_REPEAT (Lakehouse v2)
Crée un tableau contenant un élément donné répété N fois.
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_repeat('x', 3)Exemples Analyze
Section intitulée « Exemples Analyze »func.array_repeat('x', 3)
┌───────────────┐│ ['x','x','x'] │└───────────────┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_REPEAT('x', 3)Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_REPEAT('x', 3);
┌───────────────┐│ ["x","x","x"] │└───────────────┘