Apache-presto-string-function-lpad

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

Apache Presto-lpad(string、size、padstring)

問い合わせ

presto:default> select lpad(‘Presto',5,'o') as string_padding;

結果

 string_padding
----------------
     Prest

出力は、文字列サイズの左パディングです。