Skip to content

PromQL: support for unmapped fields#141532

Merged
felixbarny merged 10 commits intoelastic:mainfrom
felixbarny:promql-unmapped-fields
Feb 3, 2026
Merged

PromQL: support for unmapped fields#141532
felixbarny merged 10 commits intoelastic:mainfrom
felixbarny:promql-unmapped-fields

Conversation

@felixbarny
Copy link
Member

@felixbarny felixbarny commented Jan 29, 2026

Returns an empty result instead of an error or null values when referencing fields that aren't available.

Grouping by an unmapped field is equivalent to omitting that field from the groupings.

Returns an empty result instead of an error or null values when referencing fields that aren't available.
@elasticsearchmachine elasticsearchmachine added v9.4.0 external-contributor Pull request authored by a developer outside the Elasticsearch team labels Jan 29, 2026
@felixbarny felixbarny added >non-issue :StorageEngine/ES|QL Timeseries / metrics / PromQL / logsdb capabilities in ES|QL labels Jan 29, 2026
@felixbarny felixbarny marked this pull request as ready for review January 30, 2026 09:11
@felixbarny felixbarny requested a review from kkrik-es January 30, 2026 09:11
@elasticsearchmachine
Copy link
Collaborator

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

@kkrik-es kkrik-es requested a review from dnhatn February 1, 2026 10:52
@kkrik-es
Copy link
Contributor

kkrik-es commented Feb 1, 2026

We need Nhat to review this one.

Copy link
Member

@dnhatn dnhatn left a comment

Choose a reason for hiding this comment

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

Good timing with #140463

@felixbarny felixbarny linked an issue Feb 3, 2026 that may be closed by this pull request
felixbarny and others added 2 commits February 3, 2026 13:20
In PromQL, this is equivalent to omitting unmapped fields from the grouping
@felixbarny felixbarny merged commit 98f3aaf into elastic:main Feb 3, 2026
35 checks passed
jfreden pushed a commit to jfreden/elasticsearch that referenced this pull request Feb 4, 2026
Returns an empty result instead of an error or null values when referencing fields that aren't available.

Grouping by an unmapped field is equivalent to omitting that field from the groupings.
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.

PromQL call on unresolved object

4 participants