Skip to content

allow queriers to execute from logical query plans #6929

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

Merged
merged 1 commit into from
Aug 5, 2025

Conversation

rubywtl
Copy link
Contributor

@rubywtl rubywtl commented Jul 30, 2025

What this PR does:
This PR enables the queriers to execute a logical plan derived from the serialized logical plan in the request body, under the distributed execution feature flag. It includes a fallback to the PromQL engine when necessary.

Unit tests have been added to verify that queries are correctly executed from the logical plan in the request body when expected, as opposed to the query string in the request URL.

Which issue(s) this PR fixes:
Fixes

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@rubywtl rubywtl force-pushed the querier/logicalplan-exec branch 11 times, most recently from acead0e to 109c716 Compare August 4, 2025 21:02
@rubywtl rubywtl force-pushed the querier/logicalplan-exec branch from 109c716 to 00d9f9b Compare August 4, 2025 22:28
Copy link
Contributor

@yeya24 yeya24 left a comment

Choose a reason for hiding this comment

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

Thanks! This is amazing work

@yeya24 yeya24 merged commit 46ec0a5 into cortexproject:master Aug 5, 2025
16 of 17 checks passed
aclaygray pushed a commit to aclaygray/cortex that referenced this pull request Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants