Skip to content

Commit 42ce293

Browse files
implicit casting for date nanos
1 parent f2098e0 commit 42ce293

File tree

4 files changed

+271
-9
lines changed

4 files changed

+271
-9
lines changed

x-pack/plugin/esql/qa/testFixtures/src/main/resources/date_nanos.csv-spec

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,3 +1296,14 @@ diff_sec:integer | diff_sec_m:integer | n:date_nanos
12961296
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
12971297
-18489600 | -18489599 | 2023-03-23T12:15:03.360103847Z
12981298
;
1299+
1300+
DateAndDateNanos
1301+
from employees,employees_incompatible
1302+
| keep emp_no, birth_date
1303+
| sort emp_no
1304+
| limit 1
1305+
;
1306+
1307+
emp_no:integer |birth_date:date
1308+
10001 |1953-09-02T00:00:00Z
1309+
;

0 commit comments

Comments
 (0)