Skip to content
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] DF Analytics Outlier detection results: improve handling of text fields #55002

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jan 16, 2020

Summary

Fixes #51273

Use field caps api to check if a field is both text and keyword type. .keyword suffix is added when that is the case.

Table will now sort columns of text/keyword fields correctly without error.

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

For maintainers

- [ ] This was checked for breaking API changes and was labeled appropriately
- [ ] This includes a feature addition or change that requires a release note and was labeled appropriately

@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87 alvarezmelissa87 changed the title add keyword suffix to fieldName when both text and keyword [ML] DF Analytics Outlier detection results: improve handling of text fields Jan 16, 2020
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested and LGTM

@alvarezmelissa87 alvarezmelissa87 merged commit b9814bf into elastic:master Jan 16, 2020
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jan 16, 2020
… fields (elastic#55002)

* add keyword suffix to fieldName when both text and keyword

* update exploration jest test
alvarezmelissa87 added a commit to alvarezmelissa87/kibana that referenced this pull request Jan 16, 2020
… fields (elastic#55002)

* add keyword suffix to fieldName when both text and keyword

* update exploration jest test
@alvarezmelissa87 alvarezmelissa87 deleted the ml-df-analytics-outlier-text-field-fix branch January 16, 2020 15:34
alvarezmelissa87 added a commit that referenced this pull request Jan 16, 2020
… fields (#55002) (#55053)

* add keyword suffix to fieldName when both text and keyword

* update exploration jest test
alvarezmelissa87 added a commit that referenced this pull request Jan 16, 2020
… fields (#55002) (#55054)

* add keyword suffix to fieldName when both text and keyword

* update exploration jest test
jkelastic pushed a commit to jkelastic/kibana that referenced this pull request Jan 17, 2020
… fields (elastic#55002)

* add keyword suffix to fieldName when both text and keyword

* update exploration jest test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[ML] DF analytics: improve handling of text fields
5 participants