Skip to content

Conversation

@polyfractal
Copy link
Contributor

Adds support for the new supported/unsupported type tests in the Percentiles and PercentileRanks aggregator tests. As it turns out, percentiles/ranks support all numerics (including boolean, date) :'(

Also makes some tweaks to the test itself:

  • Makes it final so tests can't accidentally override
  • Adds specific example docs for the floating points, since they are encoded and some aggs (HDR histo) cannot use negative numbers, so blindly using a random long can encode to a negative
  • Some reformatting to make it more readable

Also makes some tweaks to the test itself:

- Makes it final so tests can't accidentally override
- Adds specific example docs for the floating points, since they are
encoded and some aggs (HDR histo) cannot use negative numbers, so blindly
using a random long can encode to a negative
- Some reformatting to make it more readable
@polyfractal polyfractal added >test Issues or PRs that are addressing/adding tests :Analytics/Aggregations Aggregations labels Feb 20, 2020
@elasticmachine
Copy link
Collaborator

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

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

@polyfractal polyfractal merged commit 437273f into elastic:master Feb 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/Aggregations Aggregations >test Issues or PRs that are addressing/adding tests v8.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants