Skip to content

[8.x] Esql - Support date nanos in date extract function (#120727)#120908

Merged
elasticsearchmachine merged 4 commits intoelastic:8.xfrom
not-napoleon:backport/8.x/pr-120727
Jan 28, 2025
Merged

[8.x] Esql - Support date nanos in date extract function (#120727)#120908
elasticsearchmachine merged 4 commits intoelastic:8.xfrom
not-napoleon:backport/8.x/pr-120727

Conversation

@not-napoleon
Copy link
Copy Markdown
Member

Backports the following commits to 8.x:

Resolves elastic#110000

Add support for running the date extract function on nanosecond dates.
@not-napoleon not-napoleon added :Analytics/ES|QL AKA ESQL >enhancement auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Jan 27, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Documentation preview:

@ivancea
Copy link
Copy Markdown
Contributor

ivancea commented Jan 27, 2025

There's the error "an enum switch case label must be the unqualified name of an enumeration constant". I'm not sure why it didn't fail in main (Behaviour changed in the JDK version?).
I'll fix it here, and then open a PR on main

@ivancea ivancea enabled auto-merge (squash) January 27, 2025 17:05
@ivancea
Copy link
Copy Markdown
Contributor

ivancea commented Jan 27, 2025

Fix for tests picked from #120929

@elasticsearchmachine elasticsearchmachine merged commit 1a4ceb4 into elastic:8.x Jan 28, 2025
@not-napoleon not-napoleon deleted the backport/8.x/pr-120727 branch January 28, 2025 13:24
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 >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.18.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants