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: extract query time range values to their own type #9280

Merged
merged 6 commits into from
Sep 12, 2024

Conversation

charleskorn
Copy link
Contributor

@charleskorn charleskorn commented Sep 12, 2024

What this PR does

This PR refactors some parts of MQE to pass around a types.QueryTimeRange struct rather than a bunch of int64s that represent the start, end and interval of a query.

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.

@charleskorn charleskorn marked this pull request as ready for review September 12, 2024 04:26
@charleskorn charleskorn requested a review from a team as a code owner September 12, 2024 04:26
Copy link
Contributor

@jhesketh jhesketh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! I've been thinking we should tidy this up for a while too

@charleskorn charleskorn enabled auto-merge (squash) September 12, 2024 06:44
@charleskorn charleskorn merged commit 0a06baa into main Sep 12, 2024
29 checks passed
@charleskorn charleskorn deleted the charleskorn/mqe-refactor branch September 12, 2024 07:18
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