Commit df05010
ESQL Date Nanos Addition and Subtraction (elastic#116839)
Resolves elastic#109995
This adds support and tests for addition and subtraction of date nanos with periods and durations. It does not include support for date_diff, which is a separate ticket (elastic#109999). The bulk of the PR is testing, the actual date math is all handled by library functions.
---------
Co-authored-by: Elastic Machine <[email protected]>1 parent ff18d1b commit df05010
File tree
19 files changed
+1152
-61
lines changed- docs/reference/esql/functions
- kibana/definition
- types
- x-pack/plugin
- esql-core/src/main/java/org/elasticsearch/xpack/esql/core/type
- esql
- qa/testFixtures/src/main/resources
- src
- main
- generated/org/elasticsearch/xpack/esql/expression/predicate/operator/arithmetic
- java/org/elasticsearch/xpack/esql
- action
- expression/predicate/operator/arithmetic
- type
- test/java/org/elasticsearch/xpack/esql
- analysis
- expression
- function
- predicate/operator/arithmetic
- type
19 files changed
+1152
-61
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
415 | 415 | | |
416 | 416 | | |
417 | 417 | | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
418 | 426 | | |
419 | 427 | | |
420 | 428 | | |
| |||
0 commit comments