Skip to content

[Transform] add support for extended_stats and string_stats aggregations #51925

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

Open
hendrikmuhs opened this issue Feb 5, 2020 · 5 comments
Open
Assignees
Labels
>enhancement help wanted adoptme :ml/Transform Transform Team:ML Meta label for the ML team

Comments

@hendrikmuhs
Copy link

hendrikmuhs commented Feb 5, 2020

#51808 added the groundwork for multi value aggregations in general and added percentiles support.

More multi value aggregations should be supported:

  • stats
  • extended stats
  • string stats
@elasticmachine
Copy link
Collaborator

Pinging @elastic/ml-core (:ml/Transform)

@hendrikmuhs
Copy link
Author

Stats got added in #71850

@hendrikmuhs hendrikmuhs changed the title [Transform] add support for stats, extended_stats and string_stats aggregations [Transform] add support for extended_stats and string_stats aggregations Apr 23, 2021
hendrikmuhs pushed a commit that referenced this issue Apr 27, 2021
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:
 - only the 1st element of top_metrics gets consumed by transform[*].
 - all values of stats will be mapped to double if mapping deduction is used, including count,
   sum, min, max

fixes #52236
relates #51925
hendrikmuhs pushed a commit that referenced this issue Apr 27, 2021
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:
 - only the 1st element of top_metrics gets consumed by transform[*].
 - all values of stats will be mapped to double if mapping deduction is used, including count,
   sum, min, max

fixes #52236
relates #51925
@Kiriakos1998
Copy link
Contributor

Hello @hendrikmuhs , is this issue still open so I may work on it? Also if it's still open do you suggest opening two PRs for each aggregation or one for both of them?

@hendrikmuhs
Copy link
Author

@Kiriakos1998 Either way, 1 combined or 2 separate PR's, works. Have a look at #71850 to see how it works, it should be relatively easy to add support for both. The main work is writing good tests.

prwhelan added a commit to prwhelan/elasticsearch that referenced this issue Jan 17, 2025
Building off of `stats` and multi-value aggregations, including the
limitation:
- all values of extended_stats will be mapped to `double` if mapping
  deduction is used

Relates elastic#51925
prwhelan added a commit that referenced this issue Jan 29, 2025
Building off of `stats` and multi-value aggregations, including the
limitation:
- all values of extended_stats will be mapped to `double` if mapping
  deduction is used

Relates #51925
prwhelan added a commit to prwhelan/elasticsearch that referenced this issue Jan 29, 2025
Building off of `stats` and multi-value aggregations, including the
limitation:
- all values of extended_stats will be mapped to `double` if mapping
  deduction is used

Relates elastic#51925
elasticsearchmachine pushed a commit that referenced this issue Jan 29, 2025
Building off of `stats` and multi-value aggregations, including the
limitation:
- all values of extended_stats will be mapped to `double` if mapping
  deduction is used

Relates #51925
@elasticsearchmachine elasticsearchmachine added the Team:ML Meta label for the ML team label Feb 11, 2025
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/ml-core (Team:ML)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>enhancement help wanted adoptme :ml/Transform Transform Team:ML Meta label for the ML team
Projects
None yet
Development

No branches or pull requests

5 participants