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 Enable Date Nanos #117080

Merged
merged 16 commits into from
Nov 20, 2024
Merged

Conversation

not-napoleon
Copy link
Member

This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to #109352

@not-napoleon not-napoleon added >enhancement test-release Trigger CI checks against release build :Analytics/ES|QL AKA ESQL v9.0.0 v8.17.0 labels Nov 19, 2024
Copy link
Contributor

Documentation preview:

@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Nov 19, 2024
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

Hi @not-napoleon, I've created a changelog YAML for you.

return types.stream()
.filter(DATA_TYPE_CASTING_PRIORITY::containsKey)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This prevents an NPE for types which we don't cast.

@not-napoleon not-napoleon added the auto-backport Automatically create backport pull requests when merged label Nov 19, 2024
@elasticsearchmachine
Copy link
Collaborator

Hi @not-napoleon, I've updated the changelog YAML for you.

@not-napoleon not-napoleon enabled auto-merge (squash) November 19, 2024 21:09
TestCaseSupplier.dateCases(),
TestCaseSupplier.dateCases(),
TestCaseSupplier.dateNanosCases(),
TestCaseSupplier.dateNanosCases(),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The dateCases are below.

@not-napoleon not-napoleon merged commit c3f73d0 into elastic:main Nov 20, 2024
16 of 17 checks passed
not-napoleon added a commit to not-napoleon/elasticsearch that referenced this pull request Nov 20, 2024
This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to elastic#109352
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

@nik9000 nik9000 added the ES|QL-ui Impacts ES|QL UI label Nov 20, 2024
elasticsearchmachine pushed a commit that referenced this pull request Nov 20, 2024
* Esql Enable Date Nanos (#117080)

This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to #109352

* Skip CATEGORIZE tests outside snapshot

---------

Co-authored-by: Nik Everett <[email protected]>
rjernst pushed a commit to rjernst/elasticsearch that referenced this pull request Nov 20, 2024
This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to elastic#109352
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
This enables date nanos support as tech preview. Basic operations, like reading values, binary comparisons, and functions that don't care about type should work, but some functions are not yet supported. Most notably, Bucket is not yet supported, although Date_Trunc is and can be used for grouping. See the docs for the full list of limitations.

relates to elastic#109352
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-backport Automatically create backport pull requests when merged >enhancement ES|QL-ui Impacts ES|QL UI Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) test-release Trigger CI checks against release build v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants