Apache-presto-regexp-split

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

regexp_split(string、pattern)

問い合わせ

presto:default> SELECT regexp_split('1a2b3c6f', '\s*') as split;

結果

          split
------------------------------
 [, 1, a, 2, b, 3, c, 6, f, ]

パターンに一致する文字列のインスタンスをpattern(s *)で分割します。