Apache Presto - array_position (x, elemento)

Query

presto:default> select array_position(array[1,2],1) as position;

Risultato

position 
---------- 
    1