Skip to content

[9.0] ESQL: Catch parsing exception (#124958)#124976

Closed
costin wants to merge 1 commit intoelastic:9.0from
costin:backport/9.0/pr-124958
Closed

[9.0] ESQL: Catch parsing exception (#124958)#124976
costin wants to merge 1 commit intoelastic:9.0from
costin:backport/9.0/pr-124958

Conversation

@costin
Copy link
Copy Markdown
Member

@costin costin commented Mar 16, 2025

Backport

This will backport the following commits from main to 9.0:

Questions ?

Please refer to the Backport tool documentation

When an invalid popMode occurs (due to an invalid query), ANTLR throws
 an out-of-channel exception, bypassing the existing checks.
This PR extends the checks and properly reports the error back to the
 user

Fix elastic#119025

(cherry picked from commit dc15462)

# Conflicts:
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/parser/EsqlParser.java
#	x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/parser/StatementParserTests.java
@costin
Copy link
Copy Markdown
Member Author

costin commented Mar 16, 2025

Another incorrect backport

@costin costin closed this Mar 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants