HangyuanLiu opened a new issue #2596: Support format function
URL: https://github.com/apache/incubator-doris/issues/2596
 
 
   **Is your feature request related to a problem? Please describe.**
   Formatting constant pattern with the string listed in the arguments. pattern 
is a simplified Python format pattern. Format string contains "replacement 
fields" surrounded by curly braces {}. Anything that is not contained in braces 
is considered literal text, which is copied unchanged to the output. If you 
need to include a brace character in the literal text, it can be escaped by 
doubling: {{ and }}. Field names can be numbers (starting from zero) or empty 
(then they are treated as consequence numbers).
   
   SELECT format('{1} {0} {1}', 'World', 'Hello')
   result : Hello World Hello
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to