-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[ESQL] Replace "::<type>" casts to functions in date CSV tests #114639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pinging @elastic/es-analytical-engine (Team:Analytics) |
required_capability: date_diff_year_calendarial | ||
|
||
ROW from="2023-12-31T23:59:59.999Z"::DATETIME, to="2024-01-01T00:00:00"::DATETIME | ||
ROW from=TO_DATETIME("2023-12-31T23:59:59.999Z"), to=TO_DATETIME("2024-01-01T00:00:00") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The tests that require date_diff_year_calendarial
could be kept as are (since that capability was added way past 8.15, when ::
was introduced). But maybe better like this for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lgtm, 🙏!
💚 Backport successful
|
Fixes elastic#114613 Those tests were added with `::<type>` casts, which don't work in older versions. As they aren't testing anything around those casts, I'm replacing them with `TO_<TYPE>()` functions to let them work everywhere.
Fixes elastic#114613 Those tests were added with `::<type>` casts, which don't work in older versions. As they aren't testing anything around those casts, I'm replacing them with `TO_<TYPE>()` functions to let them work everywhere.
Fixes elastic#114613 Those tests were added with `::<type>` casts, which don't work in older versions. As they aren't testing anything around those casts, I'm replacing them with `TO_<TYPE>()` functions to let them work everywhere.
Fixes #114613
Those tests were added with
::<type>
casts, which don't work in older versions.As they aren't testing anything around those casts, I'm replacing them with
TO_<TYPE>()
functions to let them work everywhere.