Skip to content

Conversation

@przemekwitek
Copy link
Contributor

@przemekwitek przemekwitek commented Nov 15, 2019

When the data frame is empty from the perspective of the analysis, we should not try to estimate memory usage as the analysis is not going to be run anyway.
Instead, this PR makes memory usage estimation endpoint to throw BadRequestException so that the user knows that it's their index they need to fix.

Relates #49140

@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml)

Copy link

@droberts195 droberts195 left a comment

Choose a reason for hiding this comment

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

LGTM

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.

4 participants