-
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
Add limit to Discover ES|QL queries to remove deprecation warnings #202735
Add limit to Discover ES|QL queries to remove deprecation warnings #202735
Conversation
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
💚 Build Succeeded
Metrics [docs]
History
cc @lukasolson |
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, thanks for addressing it!
Starting backport for target branches: 8.x https://github.com/elastic/kibana/actions/runs/12277198826 |
…lastic#202735) ## Summary Resolves elastic#196491. Adds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are getting the following deprecation messages: > Elasticsearch deprecation: 299 Elasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 "No limit defined, adding default limit of [1000]" ### 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 162b149)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…ngs (#202735) (#203797) # Backport This will backport the following commits from `main` to `8.x`: - [Add limit to Discover ES|QL queries to remove deprecation warnings (#202735)](#202735) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Lukas Olson","email":"lukas@elastic.co"},"sourceCommit":{"committedDate":"2024-12-11T13:18:11Z","message":"Add limit to Discover ES|QL queries to remove deprecation warnings (#202735)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/196491.\r\n\r\nAdds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are\r\ngetting the following deprecation messages:\r\n\r\n> Elasticsearch deprecation: 299\r\nElasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 \"No limit\r\ndefined, adding default limit of [1000]\"\r\n\r\n### Checklist\r\n\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":"162b1497b97391b63f78cc6b35a544b45641e66b","branchLabelMapping":{"^v9.0.0$":"main","^v8.18.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:DataDiscovery","backport:prev-minor"],"title":"Add limit to Discover ES|QL queries to remove deprecation warnings","number":202735,"url":"https://github.com/elastic/kibana/pull/202735","mergeCommit":{"message":"Add limit to Discover ES|QL queries to remove deprecation warnings (#202735)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/196491.\r\n\r\nAdds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are\r\ngetting the following deprecation messages:\r\n\r\n> Elasticsearch deprecation: 299\r\nElasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 \"No limit\r\ndefined, adding default limit of [1000]\"\r\n\r\n### Checklist\r\n\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":"162b1497b97391b63f78cc6b35a544b45641e66b"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/202735","number":202735,"mergeCommit":{"message":"Add limit to Discover ES|QL queries to remove deprecation warnings (#202735)\n\n## Summary\r\n\r\nResolves https://github.com/elastic/kibana/issues/196491.\r\n\r\nAdds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are\r\ngetting the following deprecation messages:\r\n\r\n> Elasticsearch deprecation: 299\r\nElasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 \"No limit\r\ndefined, adding default limit of [1000]\"\r\n\r\n### Checklist\r\n\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":"162b1497b97391b63f78cc6b35a544b45641e66b"}}]}] BACKPORT--> Co-authored-by: Lukas Olson <lukas@elastic.co>
…lastic#202735) ## Summary Resolves elastic#196491. Adds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are getting the following deprecation messages: > Elasticsearch deprecation: 299 Elasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 "No limit defined, adding default limit of [1000]" ### 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
…lastic#202735) ## Summary Resolves elastic#196491. Adds a `LIMIT` to our ES|QL Discover tests. Without the `LIMIT` we are getting the following deprecation messages: > Elasticsearch deprecation: 299 Elasticsearch-9.0.0-c74c06daee0583562c82597b19178268b9f415e5 "No limit defined, adding default limit of [1000]" ### 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
Summary
Resolves #196491.
Adds a
LIMIT
to our ES|QL Discover tests. Without theLIMIT
we are getting the following deprecation messages:Checklist