elasticsearch/docs/reference/sql/functions
Andras Palinkas f9f3723e90
SQL: Implement TO_CHAR() function (#66486) (#67799)
* The implementation is according to PostgreSQL 13 specs:
https://www.postgresql.org/docs/13/functions-formatting.html
* Tested against actual output from PostgreSQL 13 using randomized inputs
* All the Postgres formats are supported, there is also partial supports
 for the modifiers (`FM` and `TH` are supported)
* Random unit test data generator script in case we need to upgrade the
 formatter in the future
* Documentation
* Integration tests

Co-authored-by: Michał Wąsowicz <mwasowicz7@gmail.com>
Co-authored-by: Andras Palinkas <andras.palinkas@elastic.co>
2021-01-21 15:40:21 -05:00
..
aggs.asciidoc SQL: Add method args to PERCENTILE/PERCENTILE_RANK (#65026) (#65461) 2020-11-25 09:46:44 -05:00
conditional.asciidoc SQL: document the use of a filter on _routing (#52355) 2020-02-14 19:00:26 +02:00
date-time.asciidoc SQL: Implement TO_CHAR() function (#66486) (#67799) 2021-01-21 15:40:21 -05:00
geo.asciidoc SQL: document the use of a filter on _routing (#52355) 2020-02-14 19:00:26 +02:00
grouping.asciidoc SQL: Use calendar_interval of 1d for HISTOGRAMs with 1 DAY intervals (#52749) (#52771) 2020-02-25 18:44:02 +02:00
index.asciidoc SQL: Implement TO_CHAR() function (#66486) (#67799) 2021-01-21 15:40:21 -05:00
like-rlike.asciidoc SQL: Escaped wildcard (*) not accepted in LIKE (#63428) 2020-10-13 10:26:06 -04:00
math.asciidoc [DOCS] Replace Wikipedia links with attribute (#61171) (#61209) 2020-08-17 11:27:04 -04:00
operators.asciidoc [DOCS] Remove unneeded options from [source,sql] code blocks (#42759) 2019-05-31 13:05:13 -04:00
search.asciidoc SQL: document the use of a filter on _routing (#52355) 2020-02-14 19:00:26 +02:00
string.asciidoc SQL: Implement TRIM function (#57518) (#57593) 2020-06-03 15:19:48 +02:00
system.asciidoc SQL: document the use of a filter on _routing (#52355) 2020-02-14 19:00:26 +02:00
type-conversion.asciidoc SQL: document the use of a filter on _routing (#52355) 2020-02-14 19:00:26 +02:00