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.

95 changes: 95 additions & 0 deletions docs/reference/esql/functions/kibana/definition/to_date_nanos.json

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

8 changes: 8 additions & 0 deletions 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.

14 changes: 14 additions & 0 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.

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

1 change: 1 addition & 0 deletions docs/reference/esql/functions/signature/to_date_nanos.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
15 changes: 15 additions & 0 deletions docs/reference/esql/functions/types/to_date_nanos.asciidoc

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

2 changes: 0 additions & 2 deletions muted-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,6 @@ tests:
- class: org.elasticsearch.xpack.ml.integration.MlJobIT
method: testGetJobs_GivenSingleJob
issue: https://github.com/elastic/elasticsearch/issues/113655
- class: org.elasticsearch.xpack.esql.expression.function.scalar.convert.ToDateNanosTests
issue: https://github.com/elastic/elasticsearch/issues/113661
- class: org.elasticsearch.search.retriever.RankDocsRetrieverBuilderTests
method: testRewrite
issue: https://github.com/elastic/elasticsearch/issues/114467
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