-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[ES|QL] Omits sorting non sortable fields on Discover histogram #195531
Conversation
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
/ci |
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
History
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code review looks good
Starting backport for target branches: 8.x |
…tic#195531) ## Summary Closes elastic#195510 Sorting by `geo_point`, tsdb counter fields and _source is not supported in ES|QL. This PR is omitting the sorting for these types and now the breakdown works fine. <img width="2500" alt="image" src="https://github.com/user-attachments/assets/1526f516-5f8d-491d-8b77-1f9734ce83a4"> Note: This behavior is unreleased. ### Checklist - [x] [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 2bb9c3c)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…#195531) (#195809) # Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Omits sorting non sortable fields on Discover histogram (#195531)](#195531) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-10T17:12:29Z","message":"[ES|QL] Omits sorting non sortable fields on Discover histogram (#195531)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195510\r\n\r\nSorting by `geo_point`, tsdb counter fields and _source is not supported\r\nin ES|QL. This PR is omitting the sorting for these types and now the\r\nbreakdown works fine.\r\n\r\n<img width=\"2500\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1526f516-5f8d-491d-8b77-1f9734ce83a4\">\r\n\r\n\r\nNote: This behavior is unreleased.\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"2bb9c3cc92957faea5985169371e75197f86e407","branchLabelMapping":{"^v9.0.0$":"main","^v8.16.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["Feature:Discover","release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor","v8.16.0"],"title":"[ES|QL] Omits sorting non sortable fields on Discover histogram","number":195531,"url":"https://github.com/elastic/kibana/pull/195531","mergeCommit":{"message":"[ES|QL] Omits sorting non sortable fields on Discover histogram (#195531)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195510\r\n\r\nSorting by `geo_point`, tsdb counter fields and _source is not supported\r\nin ES|QL. This PR is omitting the sorting for these types and now the\r\nbreakdown works fine.\r\n\r\n<img width=\"2500\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1526f516-5f8d-491d-8b77-1f9734ce83a4\">\r\n\r\n\r\nNote: This behavior is unreleased.\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"2bb9c3cc92957faea5985169371e75197f86e407"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/195531","number":195531,"mergeCommit":{"message":"[ES|QL] Omits sorting non sortable fields on Discover histogram (#195531)\n\n## Summary\r\n\r\nCloses https://github.com/elastic/kibana/issues/195510\r\n\r\nSorting by `geo_point`, tsdb counter fields and _source is not supported\r\nin ES|QL. This PR is omitting the sorting for these types and now the\r\nbreakdown works fine.\r\n\r\n<img width=\"2500\" alt=\"image\"\r\nsrc=\"https://github.com/user-attachments/assets/1526f516-5f8d-491d-8b77-1f9734ce83a4\">\r\n\r\n\r\nNote: This behavior is unreleased.\r\n\r\n### Checklist\r\n- [x] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios","sha":"2bb9c3cc92957faea5985169371e75197f86e407"}},{"branch":"8.x","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <[email protected]>
Summary
Closes #195510
Sorting by
geo_point
, tsdb counter fields and _source is not supported in ES|QL. This PR is omitting the sorting for these types and now the breakdown works fine.Note: This behavior is unreleased.
Checklist