Skip to content

[PromQL] PromQL Translator Refactor#144953

Open
sidosera wants to merge 3 commits intoelastic:mainfrom
sidosera:feature/promql-without-cleanup
Open

[PromQL] PromQL Translator Refactor#144953
sidosera wants to merge 3 commits intoelastic:mainfrom
sidosera:feature/promql-without-cleanup

Conversation

@sidosera
Copy link
Contributor

@sidosera sidosera commented Mar 25, 2026

This diff is primarily a clean-up from #144261. In introduces LabelSet abstraction to encapsulate aggregate's label (groupings + aggregates) manipulation operations.

Stack:

@sidosera sidosera force-pushed the feature/promql-without-cleanup branch from 6c9c6e0 to b64f3ff Compare March 25, 2026 16:10
@sidosera sidosera changed the title [PromQL] Translator cleanup [PromQL] PromQL Translator Refactor Mar 25, 2026
@sidosera sidosera force-pushed the feature/promql-without-cleanup branch 2 times, most recently from 1d39414 to 0555b22 Compare March 26, 2026 01:41
@sidosera sidosera marked this pull request as ready for review March 26, 2026 01:45
@sidosera sidosera added >non-issue :StorageEngine/PromQL PromQL support for Elastic labels Mar 26, 2026
@sidosera sidosera requested review from a team and felixbarny March 26, 2026 01:45
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@sidosera sidosera force-pushed the feature/promql-without-cleanup branch from 0555b22 to dcdebaf Compare March 26, 2026 14:17
// Self-resolution: at the innermost level there is no child aggregation to resolve against.
// This just splits declared labels into keys (_timeseries) vs attributes (concrete labels).
// var spec = labels.apply(labels);
// List<Attribute> all = new ArrayList<>(labels.excluded());
Copy link
Member

Choose a reason for hiding this comment

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

There's some commented out code here and a bit below.

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.

3 participants