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

Add hard_bounds support for histogram field-based histograms #64246

Merged

Conversation

imotov
Copy link
Contributor

@imotov imotov commented Oct 27, 2020

hard_bounds should now support histogram fields, previously hard bounds
on histogram fields were ignored.

Closes #62124

hard_bounds should now support histogram fields, previously hard bounds
on histogram fields were ignored.

Closes elastic#62124
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-analytics-geo (:Analytics/Aggregations)

@elasticmachine elasticmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Oct 27, 2020
Copy link
Member

@not-napoleon not-napoleon left a comment

Choose a reason for hiding this comment

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

LGTM

}
}

public void testHardBoundsOnHistogram() throws Exception {
Copy link
Member

Choose a reason for hiding this comment

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

I'm confused, is this a different test than the one above it? If so, I'm missing what's different.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, it's the same, I will remove it. Thanks for catching it! I was going to turn it this into a histogram field test before I realized that I cannot put it here and it needs to go into x-pack because of dependencies.

@imotov
Copy link
Contributor Author

imotov commented Oct 28, 2020

@elasticmachine update branch

@imotov imotov merged commit 2251a7a into elastic:master Oct 28, 2020
imotov added a commit to imotov/elasticsearch that referenced this pull request Oct 28, 2020
…#64246)

hard_bounds should now support histogram fields, previously hard bounds
on histogram fields were ignored.

Closes elastic#62124
imotov added a commit that referenced this pull request Oct 28, 2020
…#64312)

hard_bounds should now support histogram fields, previously hard bounds
on histogram fields were ignored.

Closes #62124
@imotov imotov deleted the issue-62124-hard-bounds-for-histogram-fields branch October 30, 2020 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/Aggregations Aggregations >enhancement Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v7.11.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add hard_bounds support for histogram field-based histograms
4 participants