Apache Presto - array_position(x,element)


Query

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

Result

 position 
---------- 
    1
apache_presto_sql_functions.htm
Advertisements