Skip to content

Conversation

@fang-xing-esql
Copy link
Member

@fang-xing-esql fang-xing-esql commented Apr 10, 2025

Resolves: #126046

The error reported in the issue above occurred a couple of times in serverless, although I couldn't reproduce it locally, it worths a fix.

It is probably not a good idea to retrieve text from a token all the time without checking the token type. This PR restores the previous behavior, to retrieve text from a token only when necessary, when the token type is a single or double parameter marker.

@elasticsearchmachine
Copy link
Collaborator

Hi @fang-xing-esql, I've created a changelog YAML for you.

@fang-xing-esql fang-xing-esql marked this pull request as ready for review April 11, 2025 13:21
@elasticsearchmachine elasticsearchmachine added the Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) label Apr 11, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@fang-xing-esql fang-xing-esql added the auto-backport Automatically create backport pull requests when merged label Apr 11, 2025
@fang-xing-esql fang-xing-esql merged commit e8ffb38 into elastic:main Apr 11, 2025
17 checks passed
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.x

elasticsearchmachine pushed a commit that referenced this pull request Apr 11, 2025
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) v8.19.0 v9.1.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ESQL: StringIndexOutOfBoundsException when parsing metadata

3 participants