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

Mimir query engine: fix issue where unsupported aggregations that take a parameter do not trigger fallback #9139

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Aug 30, 2024

What this PR does

This PR fixes an issue where queries that contain unsupported aggregation functions that take a parameter (eg. count_values or topk) can cause an error like unexpected parameter for topk aggregation: 3 and not trigger fallback to Prometheus' engine.

I've checked for other similar cases and I haven't found any.

Which issue(s) this PR fixes or relates to

#9008

Checklist

  • Tests updated.
  • [n/a] Documentation added.
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX].
  • [n/a] about-versioning.md updated with experimental features.

Currently these fail with errors like `unexpected parameter for topk aggregation: 3`
@charleskorn charleskorn marked this pull request as ready for review August 30, 2024 05:38
@charleskorn charleskorn requested a review from a team as a code owner August 30, 2024 05:38
@charleskorn charleskorn enabled auto-merge (squash) August 30, 2024 05:42
@charleskorn charleskorn merged commit d047869 into main Aug 30, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/mqe-aggregations branch August 30, 2024 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants