ELEMENT_AT (Array, Lakehouse v2)
Returns the element at a specified position in an array (1-indexed).
Analyze Syntax
Section titled “Analyze Syntax”func.element_at([10, 20, 30], 2)Analyze Examples
Section titled “Analyze Examples”func.element_at([10, 20, 30], 2)
┌────┐│ 20 │└────┘SQL Syntax
Section titled “SQL Syntax”ELEMENT_AT([10, 20, 30], 2)SQL Examples
Section titled “SQL Examples”SELECT ELEMENT_AT([10, 20, 30], 2);
┌────┐│ 20 │└────┘