Skip to content

Commit 5d52a5b

Browse files
committed
Declare required capability for date tests
1 parent 062d580 commit 5d52a5b

File tree

1 file changed

+7
-7
lines changed
  • x-pack/plugin/esql/qa/testFixtures/src/main/resources

1 file changed

+7
-7
lines changed

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1479,7 +1479,7 @@ cnt:long
14791479
;
14801480

14811481
implicit casting strings to dates for IN operator
1482-
required_capability: string_literal_auto_casting
1482+
required_capability: rangequery_for_datetime
14831483
FROM employees
14841484
| WHERE birth_date IN ("1953-04-20", "1958-10-31")
14851485
| KEEP emp_no, first_name;
@@ -1490,8 +1490,8 @@ emp_no:integer | first_name:keyword
14901490
10025 | Prasadram
14911491
;
14921492

1493-
IN operator with null in list, finds match#[skip:-8.13.99, reason: default date formatter is changed in 8.14]
1494-
1493+
IN operator with null in list, finds match
1494+
required_capability: rangequery_for_datetime
14951495
FROM employees
14961496
| EVAL x = NULL
14971497
| WHERE birth_date IN (TO_DATETIME("1958-02-19T00:00:00Z"), x)
@@ -1501,8 +1501,8 @@ birth_date:datetime | first_name:keyword
15011501
1958-02-19T00:00:00.000Z | Saniya
15021502
;
15031503

1504-
IN operator with null in list, doesn't find match#[skip:-8.13.99, reason: default date formatter is changed in 8.14]
1505-
1504+
IN operator with null in list, doesn't find match
1505+
required_capability: rangequery_for_datetime
15061506
FROM employees
15071507
| EVAL x = NULL
15081508
| WHERE birth_date IN (TO_DATETIME("1900-02-19T00:00:00Z"), x)
@@ -1511,8 +1511,8 @@ FROM employees
15111511
birth_date:datetime | first_name:keyword
15121512
;
15131513

1514-
IN operator with null in list, doesn't find match, EVAL to check value#[skip:-8.13.99, reason: default date formatter is changed in 8.14]
1515-
1514+
IN operator with null in list, doesn't find match, EVAL to check value
1515+
required_capability: rangequery_for_datetime
15161516
FROM employees
15171517
| EVAL x = NULL
15181518
| EVAL result = birth_date IN (TO_DATETIME("1900-02-19T00:00:00Z"), x)

0 commit comments

Comments
 (0)