Skip to content

ESQL: don't use a Literal for constant_keyword fields when used inside full-text functions - #145632

Merged
astefan merged 9 commits into
elastic:mainfrom
astefan:145570_fix
Apr 7, 2026
Merged

astefan merged 9 commits into
elastic:mainfrom
astefan:145570_fix

Conversation

@astefan

@astefan astefan commented Apr 2, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #145570.
AI-assisted PR.

@astefan astefan added >bug auto-backport Automatically create backport pull requests when merged :Analytics/ES|QL AKA ESQL v9.4.0 v9.2.9 v9.3.4 labels Apr 2, 2026
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Apr 2, 2026
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-analytical-engine (Team:Analytics)

@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

Hi @astefan, I've created a changelog YAML for you.

@carlosdelest carlosdelest left a comment

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.

LGTM, thanks for fixing @astefan !

@astefan
astefan merged commit 5e46b50 into elastic:main Apr 7, 2026
35 checks passed
@astefan
astefan deleted the 145570_fix branch April 7, 2026 07:15
@elasticsearchmachine

Copy link
Copy Markdown
Collaborator

💔 Backport failed

Status Branch Result
❌ 9.2 Commit could not be cherrypicked due to conflicts
❌ 9.3 Commit could not be cherrypicked due to conflicts

You can use sqren/backport to manually backport by running backport --upstream elastic/elasticsearch --pr 145632

astefan added a commit to astefan/elasticsearch that referenced this pull request Apr 7, 2026
mromaios pushed a commit to mromaios/elasticsearch that referenced this pull request Apr 9, 2026
elasticsearchmachine pushed a commit that referenced this pull request Apr 9, 2026
…e full-text functions (#145632) (#145795)

* ESQL: don't use a Literal for constant_keyword fields when used inside full-text functions (#145632)

(cherry picked from commit 5e46b50)

* Update for 9.3 specifically

* Move the csv file to the right location

* Remove all-types index and all its uses since it's interfering
with stuff that not backported from "main"
@astefan astefan added the v9.3.4 label Apr 9, 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-backport Automatically create backport pull requests when merged >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v9.3.4 v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESQL: match_phrase on a backtick-named constant_keyword field fails

3 participants