You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Datetime field == literal returns correct results when run CsvTests in IntelliJ, however it returns empty resultset if run within grade single-node check.
Steps to Reproduce
Add the query below in date.csv-spec to reproduce it.
ImplicitCastingEqual
from employees
| where birth_date == "1957-05-23T00:00:00Z" -- to_datetime("1957-05-23T00:00:00Z") has the same issue
| keep emp_no, birth_date
| sort emp_no;
emp_no:integer | birth_date:datetime
10007 | 1957-05-23T00:00:00Z
;
Here is the gradle command to reproduce it.
REPRODUCE WITH: ./gradlew ':x-pack:plugin:esql:qa:server:single-node:javaRestTest' --tests "org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT" -Dtests.method="test {date.ImplicitCastingEqual SYNC}" -Dtests.seed=C78D8F95DBC63930 -Dtests.locale=sr -Dtests.timezone=Australia/Melbourne -Druntime.java=21
The text was updated successfully, but these errors were encountered:
Problem Description
Datetime field == literal returns correct results when run CsvTests in IntelliJ, however it returns empty resultset if run within grade single-node check.
Steps to Reproduce
Add the query below in date.csv-spec to reproduce it.
Here is the gradle command to reproduce it.
REPRODUCE WITH: ./gradlew ':x-pack:plugin:esql:qa:server:single-node:javaRestTest' --tests "org.elasticsearch.xpack.esql.qa.single_node.EsqlSpecIT" -Dtests.method="test {date.ImplicitCastingEqual SYNC}" -Dtests.seed=C78D8F95DBC63930 -Dtests.locale=sr -Dtests.timezone=Australia/Melbourne -Druntime.java=21
The text was updated successfully, but these errors were encountered: