Skip to content

Resolve all references in PromqlCommand#140130

Merged
sidosera merged 2 commits intoelastic:mainfrom
felixbarny:promql-resolve-refs
Jan 5, 2026
Merged

Resolve all references in PromqlCommand#140130
sidosera merged 2 commits intoelastic:mainfrom
felixbarny:promql-resolve-refs

Conversation

@felixbarny
Copy link
Member

While working on #139570, I noticed that some new csv tests were failing due to missing references. Turns out that the PromqlCommand always returns empty references! Not sure how it was ever working. I think in CSV tests, we create and cache an EsRelation that contains all attributes, regardless of the ones that are actually used in the query.

@felixbarny felixbarny self-assigned this Jan 2, 2026
@felixbarny felixbarny added >non-issue :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL labels Jan 2, 2026
@elasticsearchmachine elasticsearchmachine added v9.4.0 Team:StorageEngine external-contributor Pull request authored by a developer outside the Elasticsearch team labels Jan 2, 2026
@elasticsearchmachine
Copy link
Collaborator

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

@sidosera sidosera merged commit 09b6531 into elastic:main Jan 5, 2026
35 checks passed
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/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL Team:StorageEngine v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants