-
Notifications
You must be signed in to change notification settings - Fork 24.6k
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
[Transform] add support for top metrics #71850
[Transform] add support for top metrics #71850
Conversation
...in/java/org/elasticsearch/search/aggregations/metrics/InternalNumericMetricsAggregation.java
Outdated
Show resolved
Hide resolved
...r/src/main/java/org/elasticsearch/search/aggregations/metrics/NumericMetricsAggregation.java
Outdated
Show resolved
Hide resolved
...analytics/src/main/java/org/elasticsearch/xpack/analytics/topmetrics/InternalTopMetrics.java
Outdated
Show resolved
Hide resolved
fbb7179
to
f5d4dc8
Compare
I rebased this PR after #71738 got merged.
I created a new branch to explore this idea, see #71903. It is a nice cleanup and would make a lot of changes in this PR unnecessary. |
525a22a
to
773076f
Compare
Pinging @elastic/ml-core (Team:ML) |
After re-factorings of aggregations have been moved into another PR (#71903, merged) this PR only touches transform code. |
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.
Overall, great change. Its fantastic that we can reuse this dot delimited formatting for aggs. Shows that we have a nice framework design.
.../src/main/java/org/elasticsearch/xpack/transform/transforms/pivot/TransformAggregations.java
Outdated
Show resolved
Hide resolved
...src/main/java/org/elasticsearch/xpack/transform/transforms/pivot/AggregationResultUtils.java
Show resolved
Hide resolved
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.
LGTM
.../src/main/java/org/elasticsearch/xpack/transform/transforms/pivot/TransformAggregations.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/elasticsearch/xpack/transform/transforms/pivot/TransformAggregations.java
Outdated
Show resolved
Hide resolved
.../src/main/java/org/elasticsearch/xpack/transform/transforms/pivot/TransformAggregations.java
Outdated
Show resolved
Hide resolved
4935d02
to
e91e901
Compare
add support for the stats and top metrics aggregation in transform. With this change it became easier
to add more multi value aggregations to transform
Limitations:
double
if mapping deduction is used, includingcount
,sum
,min
,max
fixes #52236
relates #51925
Docs preview: https://elasticsearch_71850.docs-preview.app.elstc.co/diff