Skip to content

Revert "PromQL: assert output() is called on resolved plans in AcrossSeriesAggregate (#145525)"#145597

Merged
alex-spies merged 3 commits intoelastic:mainfrom
felixbarny:revert-promql-output-assert
Apr 2, 2026
Merged

Revert "PromQL: assert output() is called on resolved plans in AcrossSeriesAggregate (#145525)"#145597
alex-spies merged 3 commits intoelastic:mainfrom
felixbarny:revert-promql-output-assert

Conversation

@felixbarny
Copy link
Copy Markdown
Member

@felixbarny felixbarny commented Apr 2, 2026

Reverts #145525 and unmutes the tests that were muted as a consequence.

The assert caused EsqlNodeSubclassTests to fail because those tests call output() on plans with unresolved children by design (structural tree testing). Restores the original resolved() == false guard in the filter.

Fixes #145581, #145583, #145584, #145585, #145594, #145595, #145601, #145603, #145604, #145606

@elasticsearchmachine elasticsearchmachine added needs:triage Requires assignment of a team area label external-contributor Pull request authored by a developer outside the Elasticsearch team v9.4.0 labels Apr 2, 2026
@felixbarny felixbarny self-assigned this Apr 2, 2026
@elasticsearchmachine elasticsearchmachine removed the needs:triage Requires assignment of a team area label label Apr 2, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

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

@felixbarny felixbarny requested a review from alex-spies April 2, 2026 13:50
issue: https://github.com/elastic/elasticsearch/issues/145584
- class: org.elasticsearch.xpack.esql.tree.EsqlNodeSubclassTests
method: testTransform {class org.elasticsearch.xpack.esql.plan.physical.ExchangeExec}
issue: https://github.com/elastic/elasticsearch/issues/145585
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unfortunately, it looks like more mutes were introduced in meanwhile.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Could maybe be solved in a follow-up? I think we'll get more and more mutes until this is in :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I've updated a few and will now hold off until this is in, then update the rest.

…SeriesAggregate (elastic#145525)"

The assert caused EsqlNodeSubclassTests to fail because those tests call
output() on plans with unresolved children by design. Restores the original
resolved() guard in the filter instead.

Fixes elastic#145581, elastic#145583, elastic#145584, elastic#145585, elastic#145594, elastic#145595, elastic#145601
@felixbarny felixbarny force-pushed the revert-promql-output-assert branch from 48dd4cc to 93bfabd Compare April 2, 2026 14:18
@alex-spies alex-spies merged commit 37eb252 into elastic:main Apr 2, 2026
7 of 10 checks passed
@felixbarny felixbarny deleted the revert-promql-output-assert branch April 2, 2026 14:33
felixbarny added a commit to felixbarny/elasticsearch that referenced this pull request Apr 2, 2026
mromaios pushed a commit to mromaios/elasticsearch that referenced this pull request Apr 9, 2026
…SeriesAggregate (elastic#145525)" (elastic#145597)

The assert caused EsqlNodeSubclassTests to fail because those tests call
output() on plans with unresolved children by design. Restores the original
resolved() guard in the filter instead.

Fixes elastic#145581, elastic#145583, elastic#145584, elastic#145585, elastic#145594, elastic#145595, elastic#145601
mromaios pushed a commit to mromaios/elasticsearch that referenced this pull request Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

external-contributor Pull request authored by a developer outside the Elasticsearch team >non-issue :StorageEngine/PromQL PromQL support for Elastic Team:StorageEngine v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CI] EsqlNodeSubclassTests testReplaceChildren {class org.elasticsearch.xpack.esql.plan.physical.MergeExec} failing

5 participants