Apache Presto - lpad(string,size,padstring)

输出是字符串大小的左填充

查询

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

apache_presto_sql_functions.html