ARRAY_POSITION (Lakehouse v2)
Renvoie la position de la première occurrence d’un élément (indexation à partir de 1).
Syntaxe Analyze
Section intitulée « Syntaxe Analyze »func.array_position([10, 20, 30], 20)Exemples Analyze
Section intitulée « Exemples Analyze »func.array_position([10, 20, 30], 20)
┌───┐│ 2 │└───┘Syntaxe SQL
Section intitulée « Syntaxe SQL »ARRAY_POSITION([10, 20, 30], 20)Exemples SQL
Section intitulée « Exemples SQL »SELECT ARRAY_POSITION([10, 20, 30], 20);
┌───┐│ 2 │└───┘