-
Notifications
You must be signed in to change notification settings - Fork 25.2k
ES|QL change_point docs and tech preview #126407
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
Conversation
Pinging @elastic/ml-core (Team:ML) |
Pinging @elastic/es-analytical-engine (Team:Analytics) |
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.
Looks fine, but I think needs the [preview]
prefix. I'm restructuring these docs in another PR, but can deal with this change if you merge first.
We're also moving to make sure all examples in the commands docs are actually tested examples from the CSV-spec files. Perhaps you could add a comment about which file and which example is used in these docs? |
I did a search for |
Co-authored-by: Craig Taverner <[email protected]>
This example isn't in the csv-spec files. I don't think those have good-looking change point detection examples for the docs. This is an example similar to the one in change point aggregation, which uses a standard Kibana sample data set. Is this a problem? |
We would like all examples in the docs to be examples from real tests, so that if, for example, a feature changes behaviour, the example changes too. In 8.x branches all docs examples are extracted from csv-spec files. In 9.x docs I've recovered that status for all the functions and operators, but not yet for the commands. So I'm working on making commands use csv-spec examples, and all those that already existed in 8.x will be fine, but any new ones (like yours) might not be fine. |
OK, I have added a different example and also added that one to the csv tests. I didn't feel like adding MBs of data to the test suite, even though I think the |
I don't think it'd be unreasonable for us to have that available to be honest. |
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java
Show resolved
Hide resolved
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.
This needs to be modified a lot for the new split-up commands docs.
…s_and_tech_preview
5ad7fcc
to
75e05f3
Compare
9c470b4
to
c6c9e05
Compare
c6c9e05
to
2bfadd7
Compare
2bfadd7
to
4d8244c
Compare
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.
Looks good to me.
Pinging @elastic/kibana-esql (ES|QL-ui) |
@darnautov when this is merged we can enable the change_pont autocomplete |
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.
Looks good to me. One change suggested in the docs where we should call CHANGE_POINT
a command, not a function.
docs/reference/query-languages/esql/_snippets/commands/layout/change_point.md
Outdated
Show resolved
Hide resolved
## Summary With the `CHANGE_POINT` command moved to tech preview (PR elastic/elasticsearch#126407), we can enable suggestions in the editor.
## Summary With the `CHANGE_POINT` command moved to tech preview (PR elastic/elasticsearch#126407), we can enable suggestions in the editor. (cherry picked from commit 1a6cea5)
…#218124) # Backport This will backport the following commits from `main` to `8.x`: - [[ES|QL] Enable suggestions for `CHANGE_POINT` command (#218100)](#218100) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"[email protected]"},"sourceCommit":{"committedDate":"2025-04-14T14:12:45Z","message":"[ES|QL] Enable suggestions for `CHANGE_POINT` command (#218100)\n\n## Summary\n\nWith the `CHANGE_POINT` command moved to tech preview (PR\nhttps://github.com/elastic/elasticsearch/pull/126407), we can enable\nsuggestions in the editor.","sha":"1a6cea558964a87255d2a00ca58e62d914a55c80","branchLabelMapping":{"^v9.1.0$":"main","^v8.19.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:enhancement","Team:ESQL","backport:version","v9.1.0","v8.19.0"],"title":"[ES|QL] Enable suggestions for `CHANGE_POINT` command","number":218100,"url":"https://github.com/elastic/kibana/pull/218100","mergeCommit":{"message":"[ES|QL] Enable suggestions for `CHANGE_POINT` command (#218100)\n\n## Summary\n\nWith the `CHANGE_POINT` command moved to tech preview (PR\nhttps://github.com/elastic/elasticsearch/pull/126407), we can enable\nsuggestions in the editor.","sha":"1a6cea558964a87255d2a00ca58e62d914a55c80"}},"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/218100","number":218100,"mergeCommit":{"message":"[ES|QL] Enable suggestions for `CHANGE_POINT` command (#218100)\n\n## Summary\n\nWith the `CHANGE_POINT` command moved to tech preview (PR\nhttps://github.com/elastic/elasticsearch/pull/126407), we can enable\nsuggestions in the editor.","sha":"1a6cea558964a87255d2a00ca58e62d914a55c80"}},{"branch":"8.x","label":"v8.19.0","branchLabelMappingKey":"^v8.19.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Dima Arnautov <[email protected]>
No description provided.