Skip to content

[9.3] ESQL: Fix nullify/load for STATS with WHERE (#144029)#144210

Merged
elasticsearchmachine merged 4 commits intoelastic:9.3from
alex-spies:backport/9.3/pr-144029
Mar 13, 2026
Merged

[9.3] ESQL: Fix nullify/load for STATS with WHERE (#144029)#144210
elasticsearchmachine merged 4 commits intoelastic:9.3from
alex-spies:backport/9.3/pr-144029

Conversation

@alex-spies
Copy link
Copy Markdown
Contributor

@alex-spies alex-spies commented Mar 13, 2026

Backport

This will backport the following commits from main to 9.3:

Fix nullify/load for commands like `STATS VALUES(field) WHERE field IS NOT NULL` where a missing field leads to unresolved references twice for the same field name.

(cherry picked from commit af52ceb)

# Conflicts:
#	x-pack/plugin/esql/qa/testFixtures/src/main/resources/unmapped-load.csv-spec
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlCapabilities.java
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/analysis/rules/ResolveUnmapped.java
#	x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/analysis/AnalyzerUnmappedTests.java
@alex-spies alex-spies added >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) :Analytics/ES|QL AKA ESQL labels Mar 13, 2026
@alex-spies alex-spies mentioned this pull request Mar 13, 2026
@elasticsearchmachine elasticsearchmachine merged commit 795cf54 into elastic:9.3 Mar 13, 2026
36 checks passed
@alex-spies alex-spies deleted the backport/9.3/pr-144029 branch March 13, 2026 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Analytics/ES|QL AKA ESQL auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport >bug v9.3.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants