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

Verify that the field is aggregatable before attempting cardinality aggregation #53874

Merged

Conversation

przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Mar 20, 2020

This PR verifies that the field is aggregatable before attempting a cardinality aggregation on that field.
Due to that verification, the error message delivered to user is a bit more understandable.

Relates #53876

@przemekwitek przemekwitek force-pushed the classification_support_text_field branch 5 times, most recently from 2be6e4e to 907fc14 Compare March 23, 2020 10:42
@przemekwitek przemekwitek changed the title Remove "text" type from the set of supported categorical types Remove "text" type from the set of supported types for classification's dependent variable Mar 23, 2020
@przemekwitek przemekwitek force-pushed the classification_support_text_field branch 3 times, most recently from 58a275e to 871a5c7 Compare March 23, 2020 14:35
@przemekwitek przemekwitek force-pushed the classification_support_text_field branch from 871a5c7 to 7a2b3dd Compare March 23, 2020 14:38
@przemekwitek przemekwitek changed the title Remove "text" type from the set of supported types for classification's dependent variable Verify that the field is aggregatable before attempting cardinality aggregation Mar 23, 2020
@przemekwitek przemekwitek removed the WIP label Mar 23, 2020
@przemekwitek przemekwitek marked this pull request as ready for review March 23, 2020 14:43
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

Copy link
Member

@benwtrent benwtrent left a comment

Choose a reason for hiding this comment

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

🚀 🎸 🤘

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.

None yet

5 participants