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

[data.search.aggs] Sibling agg using Terms isn't able to sort the Terms agg by the metric #87511

Closed
wylieconlon opened this issue Jan 6, 2021 · 1 comment · Fixed by #93276
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort SharedUX/fix-it-week Bugs that have been groomed and queued up for the team's next fix it week

Comments

@wylieconlon
Copy link
Contributor

Steps to reproduce:

  1. Install the ecommerce sample data
  2. Open an aggregated chart using the Kibana sample data
  3. Begin configuring a metric
  4. The metric is Overall Max
  5. The metric is split by Terms of product.id
  6. The sort order of the Terms agg is Avg of product.price
  7. Set the Metric for Overall Max to also be Avg of product.price

Error:

Cannot retrieve search results

Validation Failed: 1: No aggregation [1-metric] found for path [1-bucket>1-metric];

Screenshot:

Screen Shot 2021-01-06 at 10 50 19 AM

@wylieconlon wylieconlon added bug Fixes for quality problems that affect the customer experience Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) Team:AppServices labels Jan 6, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-services (Team:AppServices)

@Dosant Dosant added impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort triaged labels Feb 24, 2021
@Dosant Dosant added the SharedUX/fix-it-week Bugs that have been groomed and queued up for the team's next fix it week label Mar 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Aggregations Aggregation infrastructure (AggConfig, esaggs, ...) impact:high Addressing this issue will have a high level of impact on the quality/strength of our product. loe:small Small Level of Effort SharedUX/fix-it-week Bugs that have been groomed and queued up for the team's next fix it week
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants