Skip to content

EQL: better error message for sequences with only one clause plus UNTIL #132638

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

luigidellaquila
Copy link
Contributor

EQL Sequences need at least two clauses in the query. Parsing time checks didn't take into consideration the fact that UNTIL clause doesn't have to account in this number.

Here we add a specific error for this case.

Also adding a check for usage of missing events in UNTIL.

@elasticsearchmachine elasticsearchmachine added v9.2.0 Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) labels Aug 11, 2025
@elasticsearchmachine
Copy link
Collaborator

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

@elasticsearchmachine
Copy link
Collaborator

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

@luigidellaquila luigidellaquila added v8.19.2 v9.1.2 v9.0.6 auto-backport Automatically create backport pull requests when merged labels Aug 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Analytics/EQL EQL querying auto-backport Automatically create backport pull requests when merged >bug Team:Analytics Meta label for analytical engine team (ESQL/Aggs/Geo) v8.19.3 v9.0.6 v9.1.3 v9.2.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants