elasticsearch/docs/reference/sql
Andras Palinkas f855e5235c
SQL: Implement TO_CHAR() function (#66486)
SQL: Implement the TO_CHAR() function

* 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-20 18:32:10 -05:00
..
appendix SQL: Implement TOP as an alternative to LIMIT (#57428) 2020-06-02 09:56:20 +02:00
endpoints SQL: Document Maven Central as a JDBC repository (#62618) 2020-09-21 12:55:04 +02:00
functions SQL: Implement TO_CHAR() function (#66486) 2021-01-20 18:32:10 -05:00
language SQL: Remove constant_keyword from SQL docs (#64709) 2020-11-06 20:07:30 +01:00
concepts.asciidoc [DOCS] Replace Wikipedia links with attribute (#61171) 2020-08-17 09:44:24 -04:00
getting-started.asciidoc [DOCS] Reformat snippets to use two-space indents (#59973) 2020-07-21 12:24:26 -04:00
index.asciidoc SQL: [Tests] Move JDBC integration tests to new module (#56872) 2020-05-22 15:52:41 +02:00
limitations.asciidoc Abort sorting in case of local agg sort queue overflow (#65687) 2020-12-03 19:19:15 +01:00
overview.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00
security.asciidoc [DOCS] Swap [float] for [discrete] (#60124) 2020-07-23 11:48:22 -04:00