Skip to content

[9.4] ESQL: make unmapped_fields="load" automatically trigger for partially mapped fields (#144228)#146262

Merged
elasticsearchmachine merged 1 commit intoelastic:9.4from
alex-spies:backport/9.4/pr-144228
Apr 15, 2026
Merged

[9.4] ESQL: make unmapped_fields="load" automatically trigger for partially mapped fields (#144228)#146262
elasticsearchmachine merged 1 commit intoelastic:9.4from
alex-spies:backport/9.4/pr-144228

Conversation

@alex-spies
Copy link
Copy Markdown
Contributor

Backports the following commits to 9.4:

… mapped fields (elastic#144228)

* Unconditionally load partially mapped keyword fields, whether they are mentioned in expressions or not. Also, always load values of partially mapped fields from the indices where they are mapped.
* Fix "optimized incorrectly" for `KEEP foo` with partially mapped fields.
* Move detection of PUNKs/PUKs to ResolveTable.
* Add temporary manual validation against usage of PUNKs in expressions to keep current behavior.
* Add ability to unmap fields to CsvTestsDataLoader.

---------

Co-authored-by: Mouhcine Aitounejjar <5037925+mouhc1ne@users.noreply.github.com>
@alex-spies alex-spies added :Analytics/ES|QL AKA ESQL >bug auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) backport Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Apr 14, 2026
@elasticsearchmachine elasticsearchmachine merged commit f356580 into elastic:9.4 Apr 15, 2026
36 checks passed
@alex-spies alex-spies deleted the backport/9.4/pr-144228 branch April 15, 2026 09:18
@alex-spies alex-spies added v9.4.0 and removed v9.4.1 labels Apr 15, 2026
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 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants