Skip to content

[6.x] [ML] Job validation uses fieldCaps to check aggregatable fields to avoid triggering Elasticsearch errors. (#21087)#21104

Merged
walterra merged 2 commits intoelastic:6.xfrom
walterra:backport/6.x/pr-21087
Jul 24, 2018
Merged

[6.x] [ML] Job validation uses fieldCaps to check aggregatable fields to avoid triggering Elasticsearch errors. (#21087)#21104
walterra merged 2 commits intoelastic:6.xfrom
walterra:backport/6.x/pr-21087

Conversation

@walterra
Copy link
Contributor

Backports the following commits to 6.x:

@walterra walterra added the backport This PR is a backport of another PR label Jul 23, 2018
@walterra walterra self-assigned this Jul 23, 2018
@walterra walterra added :ml Feature:Anomaly Detection ML anomaly detection labels Jul 23, 2018
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui

@elasticmachine
Copy link
Contributor

💔 Build Failed

@walterra
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

walterra and others added 2 commits July 24, 2018 09:13
…oid triggering Elasticsearch errors. (elastic#21087)

While the output in the UI was fine, certain job configurations containing non-aggregatable fields could trigger errors on the Elasticsearch side.
This PR fixes it by adding an additional query for fieldCaps to check first which fields are actually aggregatable.
@walterra walterra force-pushed the backport/6.x/pr-21087 branch from 9d81ca1 to c37a958 Compare July 24, 2018 07:16
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@walterra walterra merged commit 18a73f9 into elastic:6.x Jul 24, 2018
@walterra walterra deleted the backport/6.x/pr-21087 branch July 24, 2018 08:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR Feature:Anomaly Detection ML anomaly detection :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants