You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2019/12/27 08:02:07 UTC

[GitHub] [incubator-doris] HangyuanLiu opened a new issue #2596: Support format function

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:
users@infra.apache.org


With regards,
Apache Git Services

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


[GitHub] [incubator-doris] HangyuanLiu closed issue #2596: Support format function

Posted by GitBox <gi...@apache.org>.
HangyuanLiu closed issue #2596:
URL: https://github.com/apache/incubator-doris/issues/2596


   


----------------------------------------------------------------
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:
users@infra.apache.org



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