-
Notifications
You must be signed in to change notification settings - Fork 25.3k
Add REST tests for percentiles agg #26266
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
Conversation
There's a separate test for each TDigest and HDR Histo, to keep things clean. Related to elastic#26220
50.0: 76.0 | ||
|
||
--- | ||
"Non-keyed test": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure the word "test" buys anything in the test name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But how are we supposed to know it's a test?!
Hehe, point taken. Will amend on the next batch :)
There's a separate test for each TDigest and HDR Histo, to keep things clean. Related to #26220
There's a separate test for each TDigest and HDR Histo, to keep things clean. Related to #26220
50.0: 51.0302734375 | ||
- match: | ||
aggregations.percentiles_double.values: | ||
5.0: 1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tink these values need to be quoted
"5.0": 1.0
Cause this is failing in the python client.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That is consistent with the documentation for all versions I checked, from v5.3 though master, as well as 2.4 and 1.7. Seems like the test is wrong.
There's a separate test for each of TDigest and HDR Histo to keep things clean. The two sets are essentially identical, with different values depending on the algo. And HDR Histo has an extra test for negative numbers
Related to #26220