OpenSearch/docs/reference/sql/functions
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
..
aggs.asciidoc [DOCS] Remove inline callouts for Asciidoctor migration (#41309) 2019-04-22 09:35:22 -04:00
conditional.asciidoc [DOCS] Correct `IIF` conditional section title (#45979) 2019-08-26 11:13:45 -04:00
date-time.asciidoc SQL: Implement DATEDIFF function (#47920) 2019-10-15 15:12:11 +02:00
geo.asciidoc SQL: Add support for shape type (#46464) 2019-09-26 09:47:42 -04:00
grouping.asciidoc SQL: use calendar interval of 1y instead of fixed interval for grouping by YEAR and HISTOGRAMs (#47558) 2019-10-09 11:51:35 +03:00
index.asciidoc SQL: Implement DATEDIFF function (#47920) 2019-10-15 15:12:11 +02:00
like-rlike.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00
math.asciidoc [DOCS] Remove inline callouts for Asciidoctor migration (#41309) 2019-04-22 09:35:22 -04:00
operators.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00
search.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00
string.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00
system.asciidoc [DOCS] Cleans up links to security content (#47610) (#47703) 2019-10-07 15:23:19 -07:00
type-conversion.asciidoc [DOCS] Remove unneeded options from `[source,sql]` code blocks (#42759) 2019-05-31 13:05:13 -04:00