Skip to content
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

[ESQL] Support passing Date_Nanos to Date_Format function #109994

Closed
Tracked by #109352
not-napoleon opened this issue Jun 20, 2024 · 1 comment · Fixed by #120143
Closed
Tracked by #109352

[ESQL] Support passing Date_Nanos to Date_Format function #109994

not-napoleon opened this issue Jun 20, 2024 · 1 comment · Fixed by #120143
Assignees
Labels
:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)

Comments

@not-napoleon
Copy link
Member

not-napoleon commented Jun 20, 2024

Description

Add support for the DATE_FORMAT functions on date nanos values, without the user needing to cast to millisecond dates, to be clear.

@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Jun 20, 2024
@not-napoleon not-napoleon added :Analytics/ES|QL AKA ESQL and removed :Analytics/Compute Engine Analytics in ES|QL labels Jun 24, 2024
@not-napoleon not-napoleon changed the title [ESQL] Stringify date nanos [ESQL] Support passing Date_Nanos to Date_Format function Aug 13, 2024
@not-napoleon not-napoleon self-assigned this Jan 9, 2025
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this issue Jan 15, 2025
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 <[email protected]>
elasticsearchmachine added a commit that referenced this issue Jan 15, 2025
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 #109994

---------

Co-authored-by: elasticsearchmachine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/ES|QL AKA ESQL >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants