elasticsearch/docs/reference/sql/functions
Marios Trivyzas 78c6d73a65
QL: Implement support for date_nanos ES type. (#67666) (#68198)
* QL: Implement support for date_nanos ES type. (#67666)

Use an internal new DataType DATETIME_NANOS which is not exposed
and therefore cannot be used for CASTing. DATETIME is used instead
and the precision of both DATETIME and TIME has been promoted from
3 to 9, providing transparency to all datetime functionality regardless
of millis or nanos precision.

Moreover, CURRENT_TIMESTAMP/CURRENT_TIME can now return precision up
to 6 fractional digits of a second with the use of Clock.

Closes: #38562

Co-authored-by: Bogdan Pintea <bogdan.pintea@elastic.co>

(cherry picked from commit bbf3cbfcfa)
2021-01-29 14:30:28 +01: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 QL: Implement support for date_nanos ES type. (#67666) (#68198) 2021-01-29 14:30:28 +01: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