Skip to content

[ES|QL] Supports date_nanos in bucket#213319

Merged
stratoula merged 3 commits intoelastic:mainfrom
stratoula:esql-support-date_nanos-bucket
Mar 10, 2025
Merged

[ES|QL] Supports date_nanos in bucket#213319
stratoula merged 3 commits intoelastic:mainfrom
stratoula:esql-support-date_nanos-bucket

Conversation

@stratoula
Copy link
Contributor

@stratoula stratoula commented Mar 6, 2025

Summary

Supports date_nanos in BUCKET. (Fixes this #192255 (comment))

Create a date_nanos field like here https://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html
Test it with bucket

image

Checklist

@stratoula stratoula mentioned this pull request Mar 6, 2025
13 tasks
@stratoula stratoula added v9.1.0 v8.19.0 backport:version Backport to applied version labels Feature:ES|QL ES|QL related features in Kibana Team:ESQL ES|QL related features in Kibana t// release_note:fix labels Mar 6, 2025
@stratoula stratoula marked this pull request as ready for review March 6, 2025 10:44
@stratoula stratoula requested a review from a team as a code owner March 6, 2025 10:44
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-esql (Team:ESQL)

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] x-pack/test/api_integration/deployment_agnostic/configs/serverless/oblt.serverless.config.ts / Serverless Observability - Deployment-agnostic API integration tests Observability Alerting Burn rate rule Rule creation should set correct information in the alert document

Metrics [docs]

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
kbnUiSharedDeps-srcJs 3.6MB 3.6MB +328.0B

History

Copy link
Contributor

@drewdaemon drewdaemon left a comment

Choose a reason for hiding this comment

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

Beautiful!

@stratoula stratoula merged commit 3e78503 into elastic:main Mar 10, 2025
9 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/13769135799

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Mar 10, 2025
## Summary

Supports date_nanos in BUCKET. (Fixes this
elastic#192255 (comment))

Create a date_nanos field like here
https://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html
Test it with bucket

<img width="776" alt="image"
src="https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596"
/>

### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios

(cherry picked from commit 3e78503)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Mar 10, 2025
# Backport

This will backport the following commits from `main` to `8.x`:
- [[ES|QL] Supports date_nanos in bucket
(#213319)](#213319)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Stratoula
Kalafateli","email":"efstratia.kalafateli@elastic.co"},"sourceCommit":{"committedDate":"2025-03-10T15:58:55Z","message":"[ES|QL]
Supports date_nanos in bucket (#213319)\n\n## Summary\n\nSupports
date_nanos in BUCKET. (Fixes
this\nhttps://github.com//issues/192255#issuecomment-2682565258)\n\nCreate
a date_nanos field like
here\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html\nTest
it with bucket\n\n<img width=\"776\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3e7850385882df68325bb9e22393590f6e07f781","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Feature:ES|QL","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL]
Supports date_nanos in
bucket","number":213319,"url":"https://github.com/elastic/kibana/pull/213319","mergeCommit":{"message":"[ES|QL]
Supports date_nanos in bucket (#213319)\n\n## Summary\n\nSupports
date_nanos in BUCKET. (Fixes
this\nhttps://github.com//issues/192255#issuecomment-2682565258)\n\nCreate
a date_nanos field like
here\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html\nTest
it with bucket\n\n<img width=\"776\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3e7850385882df68325bb9e22393590f6e07f781"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.1.0","branchLabelMappingKey":"^v9.1.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/213319","number":213319,"mergeCommit":{"message":"[ES|QL]
Supports date_nanos in bucket (#213319)\n\n## Summary\n\nSupports
date_nanos in BUCKET. (Fixes
this\nhttps://github.com//issues/192255#issuecomment-2682565258)\n\nCreate
a date_nanos field like
here\nhttps://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html\nTest
it with bucket\n\n<img width=\"776\"
alt=\"image\"\nsrc=\"https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596\"\n/>\n\n\n###
Checklist\n\n- [ ] [Unit or
functional\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\nwere
updated or added to match the most common
scenarios","sha":"3e7850385882df68325bb9e22393590f6e07f781"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Stratoula Kalafateli <efstratia.kalafateli@elastic.co>
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Mar 22, 2025
## Summary

Supports date_nanos in BUCKET. (Fixes this
elastic#192255 (comment))

Create a date_nanos field like here
https://www.elastic.co/guide/en/elasticsearch/reference/current/date_nanos.html
Test it with bucket

<img width="776" alt="image"
src="https://github.com/user-attachments/assets/3ba7d1b6-9000-4fc9-8bf0-74fb6c335596"
/>


### Checklist

- [ ] [Unit or functional
tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)
were updated or added to match the most common scenarios
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels Feature:ES|QL ES|QL related features in Kibana release_note:fix Team:ESQL ES|QL related features in Kibana t// v8.19.0 v9.1.0

4 participants