Apache-presto-slice

提供:Dev Guides
移動先:案内検索

Apache Presto-slice(x、start、length)

問い合わせ

presto:default> select slice(array[1,2,3],1,2) as array_slice;

結果

 array_slice
-------------
   [1, 2]