ARRAY_REPEAT (Lakehouse v2)
Creates an array containing a specified element repeated N times.
Analyze Syntax
Section titled “Analyze Syntax”func.array_repeat('x', 3)Analyze Examples
Section titled “Analyze Examples”func.array_repeat('x', 3)
┌───────────────┐│ ['x','x','x'] │└───────────────┘SQL Syntax
Section titled “SQL Syntax”ARRAY_REPEAT('x', 3)SQL Examples
Section titled “SQL Examples”SELECT ARRAY_REPEAT('x', 3);
┌───────────────┐│ ["x","x","x"] │└───────────────┘