OpenSearch/docs/reference/sql
Marios Trivyzas 7fddf198b7 SQL: Implement DATEDIFF function (#47920)
Implement DATEDIFF/TIMESTAMPDIFF function as per the MS-SQL spec:
https://docs.microsoft.com/en-us/sql/t-sql/functions/datediff-transact-sql?view=sql-server-2017
which allows a user to substract two date/datetime fields and return the
difference in the date/time unit specified.

Closes: #47919
(cherry picked from commit 745699f38dc8222670ffd65b66df33b5da39040b)
2019-10-15 15:12:11 +02:00
..
appendix SQL: Implement CURRENT_TIME/CURTIME functions (#40662) 2019-04-04 11:45:20 +02:00
endpoints DOC: Fix typo 2019-09-16 12:35:21 +03:00
functions SQL: Implement DATEDIFF function (#47920) 2019-10-15 15:12:11 +02:00
language SQL: Add support for shape type (#46464) 2019-09-26 09:47:42 -04: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