Skip to content

[8.x] Esql - support date nanos in date format function (#120143)#120218

Merged
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
not-napoleon:backport/8.x/pr-120143
Jan 15, 2025
Merged

[8.x] Esql - support date nanos in date format function (#120143)#120218
elasticsearchmachine merged 1 commit intoelastic:8.xfrom
not-napoleon:backport/8.x/pr-120143

Conversation

@not-napoleon
Copy link
Copy Markdown
Member

Backports the following commits to 8.x:

This adds support for passing Date Nanos into the Date Format function. It works for both the single argument and two argument versions. Format strings are unchanged, as the same formatting logic works for both resolutions.

resolves elastic#109994

---------

Co-authored-by: elasticsearchmachine <infra-root+elasticsearchmachine@elastic.co>
@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 15, 2025
@github-actions
Copy link
Copy Markdown
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine merged commit 68de069 into elastic:8.x Jan 15, 2025
@not-napoleon not-napoleon deleted the backport/8.x/pr-120143 branch January 15, 2025 17: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 >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.

2 participants