Skip to content

Conversation

not-napoleon
Copy link
Member

While working on Date Nanos, I noticed that Least and Greatest didn't have support for datetime. This PR corrects that and adds tests for it.

It seems to me that resolveType() is doing the wrong thing for these functions, as it accepts types that then do not have evaluator mappings, but refactoring that seems out of scope right now.

…astic#113961)

While working on Date Nanos, I noticed that Least and Greatest didn't have support for datetime. This PR corrects that and adds tests for it.

It seems to me that resolveType() is doing the wrong thing for these functions, as it accepts types that then do not have evaluator mappings, but refactoring that seems out of scope right now.

---------

Co-authored-by: Elastic Machine <[email protected]>
@not-napoleon not-napoleon added >bug backport auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL v8.15.3 labels Oct 4, 2024
Copy link
Contributor

github-actions bot commented Oct 4, 2024

Documentation preview:

@elasticsearchmachine elasticsearchmachine merged commit 7f05bee into elastic:8.15 Oct 4, 2024
15 of 16 checks passed
@not-napoleon not-napoleon deleted the backport-113961-to-8.15 branch October 4, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug v8.15.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants