OpenSearch/docs/reference/sql
Marios Trivyzas d956509394 SQL: Implement DATE_TRUNC function (#46473)
DATE_TRUNC(<truncate field>, <date/datetime>) is a function that allows
the user to truncate a timestamp to the specified field by zeroing out
the rest of the fields. The function is implemented according to the
spec from PostgreSQL: https://www.postgresql.org/docs/current/functions-datetime.html#FUNCTIONS-DATETIME-TRUNC

Closes: #46319
(cherry picked from commit b37e96712db1aace09f17b574eb02ff6b942a297)
2019-09-11 21:41:02 +03:00
..
appendix SQL: Implement CURRENT_TIME/CURTIME functions (#40662) 2019-04-04 11:45:20 +02:00
endpoints [DOCS] [5 of 5] Change // TESTRESPONSE comments to [source,console-results] (#46449) (#46459) 2019-09-06 16:09:09 -04:00
functions SQL: Implement DATE_TRUNC function (#46473) 2019-09-11 21:41:02 +03:00
language SQL: double quotes escaping bug fix (#43829) 2019-07-10 16:05:22 +03:00
concepts.asciidoc [DOCS] Replaces CCS terms with attributes (#40076) 2019-03-15 07:57:51 -07:00
getting-started.asciidoc [DOCS] Replace "// CONSOLE" comments with [source,console] (#46159) (#46332) 2019-09-05 10:11:25 -04:00
index.asciidoc [DOCS] Edits 7.3 release highlights (#45066) 2019-07-31 15:49:27 -07:00
limitations.asciidoc Switch from using docvalue_fields to extracting values from _source (#44062) (#44804) 2019-07-25 10:02:41 +03:00
overview.asciidoc SQL: remove beta marker from documentation (#38661) 2019-02-10 00:09:58 +02:00
security.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00