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 panic in min and max over series containing only histograms #9191

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Sep 4, 2024

What this PR does

This PR fixes an issue in min and max in MQE where they could panic if the input series for a group contained only histograms and the group had not previously seen float values.

Which issue(s) this PR fixes or relates to

(none)

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.

… only histograms

# Conflicts:
#	pkg/streamingpromql/testdata/ours/aggregators.test
@charleskorn charleskorn marked this pull request as ready for review September 4, 2024 00:11
@charleskorn charleskorn requested a review from a team as a code owner September 4, 2024 00:11
@charleskorn charleskorn merged commit 374dfa6 into main Sep 4, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/mqe-max-panic branch September 4, 2024 05:11
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