ARRAY_LENGTH (Lakehouse v2)
Returns the number of elements in an array.
Analyze Syntax
Section titled “Analyze Syntax”func.array_length([1, 2, 3])Analyze Examples
Section titled “Analyze Examples”func.array_length([10, 20, 30])
┌───┐│ 3 │└───┘SQL Syntax
Section titled “SQL Syntax”ARRAY_LENGTH([1, 2, 3])SQL Examples
Section titled “SQL Examples”SELECT ARRAY_LENGTH([10, 20, 30]);
┌───┐│ 3 │└───┘