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
[ML] Fixes anomaly charts when partition field contains an empty string #168102
[ML] Fixes anomaly charts when partition field contains an empty string #168102
Conversation
Pinging @elastic/ml-ui (:ml) |
Tested and LGTM 🎉 |
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.
Tested and LGTM
💚 Build Succeeded
Metrics [docs]
To update your PR or re-run it, just comment with: cc @darnautov |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…elastic#168102) ## Summary Fixes elastic#168067. Fixes anomaly charts fetching by replacing logical OR operator with nullish coalescing. ![image](https://github.com/elastic/kibana/assets/5236598/e8e43c49-507c-4725-9e1a-f412e3bdbe98) ### 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 efa4e76)
… string (#168102) (#168180) # Backport This will backport the following commits from `main` to `8.11`: - [[ML] Fix anomaly charts when partition field contains an empty string (#168102)](#168102) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Dima Arnautov","email":"dmitrii.arnautov@elastic.co"},"sourceCommit":{"committedDate":"2023-10-06T07:49:25Z","message":"[ML] Fix anomaly charts when partition field contains an empty string (#168102)\n\n## Summary\r\n\r\nFixes #168067.\r\n\r\nFixes anomaly charts fetching by replacing logical OR operator with\r\nnullish coalescing.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/5236598/e8e43c49-507c-4725-9e1a-f412e3bdbe98)\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [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":"efa4e76203a1c20977994559b0e57c09d7751310","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix",":ml","Feature:Anomaly Detection","Team:ML","v8.11.0","v8.12.0"],"number":168102,"url":"#168102 Fix anomaly charts when partition field contains an empty string (#168102)\n\n## Summary\r\n\r\nFixes #168067.\r\n\r\nFixes anomaly charts fetching by replacing logical OR operator with\r\nnullish coalescing.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/5236598/e8e43c49-507c-4725-9e1a-f412e3bdbe98)\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [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":"efa4e76203a1c20977994559b0e57c09d7751310"}},"sourceBranch":"main","suggestedTargetBranches":["8.11"],"targetPullRequestStates":[{"branch":"8.11","label":"v8.11.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"#168102 Fix anomaly charts when partition field contains an empty string (#168102)\n\n## Summary\r\n\r\nFixes #168067.\r\n\r\nFixes anomaly charts fetching by replacing logical OR operator with\r\nnullish coalescing.\r\n\r\n\r\n![image](https://github.com/elastic/kibana/assets/5236598/e8e43c49-507c-4725-9e1a-f412e3bdbe98)\r\n\r\n\r\n### Checklist\r\n\r\n- [ ] [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":"efa4e76203a1c20977994559b0e57c09d7751310"}}]}] BACKPORT--> Co-authored-by: Dima Arnautov <dmitrii.arnautov@elastic.co>
…elastic#168102) ## Summary Fixes elastic#168067. Fixes anomaly charts fetching by replacing logical OR operator with nullish coalescing. ![image](https://github.com/elastic/kibana/assets/5236598/e8e43c49-507c-4725-9e1a-f412e3bdbe98) ### 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
Summary
Fixes #168067.
Fixes anomaly charts fetching by replacing logical OR operator with nullish coalescing.
Checklist