Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/reference/esql/functions/kibana/docs/to_date_nanos.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions docs/reference/esql/functions/layout/to_date_nanos.asciidoc

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* <<esql-to_cartesianshape>>
* experimental:[] <<esql-to_dateperiod>>
* <<esql-to_datetime>>
* <<esql-to_date_nanos>>
* <<esql-to_degrees>>
* <<esql-to_double>>
* <<esql-to_geopoint>>
Expand All @@ -37,6 +38,7 @@ include::layout/to_cartesianpoint.asciidoc[]
include::layout/to_cartesianshape.asciidoc[]
include::layout/to_dateperiod.asciidoc[]
include::layout/to_datetime.asciidoc[]
include::layout/to_date_nanos.asciidoc[]
include::layout/to_degrees.asciidoc[]
include::layout/to_double.asciidoc[]
include::layout/to_geopoint.asciidoc[]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ public class ToDateNanos extends AbstractConvertFunction {
@FunctionInfo(
returnType = "date_nanos",
description = "Converts an input to a nanosecond-resolution date value (aka date_nanos).",
note = "The range for date nanos is 1970-01-01T00:00:00.000000000Z to 2262-04-11T23:47:16.854775807Z. Additionally, integers "
+ "cannot be converted into date nanos, as the range of integer nanoseconds only covers about 2 seconds after epoch.",
preview = true
note = "The range for date nanos is 1970-01-01T00:00:00.000000000Z to 2262-04-11T23:47:16.854775807Z, attepting to convert"
+ "values outside of that range will result in null with a warning.. Additionally, integers cannot be converted into date "
+ "nanos, as the range of integer nanoseconds only covers about 2 seconds after epoch."
)
public ToDateNanos(
Source source,
Expand Down