Apache Presto - slice (x, start, length)
Query
presto:default> select slice(array[1,2,3],1,2) as array_slice;
Risultato
array_slice
-------------
[1, 2]
presto:default> select slice(array[1,2,3],1,2) as array_slice;
array_slice
-------------
[1, 2]