Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ cnt:long
;

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

IN operator with null in list, finds match#[skip:-8.13.99, reason: default date formatter is changed in 8.14]

IN operator with null in list, finds match
required_capability: rangequery_for_datetime
FROM employees
| EVAL x = NULL
| WHERE birth_date IN (TO_DATETIME("1958-02-19T00:00:00Z"), x)
Expand All @@ -1501,8 +1501,8 @@ birth_date:datetime | first_name:keyword
1958-02-19T00:00:00.000Z | Saniya
;

IN operator with null in list, doesn't find match#[skip:-8.13.99, reason: default date formatter is changed in 8.14]

IN operator with null in list, doesn't find match
required_capability: rangequery_for_datetime
FROM employees
| EVAL x = NULL
| WHERE birth_date IN (TO_DATETIME("1900-02-19T00:00:00Z"), x)
Expand All @@ -1511,8 +1511,8 @@ FROM employees
birth_date:datetime | first_name:keyword
;

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]

IN operator with null in list, doesn't find match, EVAL to check value
required_capability: rangequery_for_datetime
FROM employees
| EVAL x = NULL
| EVAL result = birth_date IN (TO_DATETIME("1900-02-19T00:00:00Z"), x)
Expand Down