Skip to content

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Sep 29, 2025

As agreed offline, this is the only way to support multi-valued parameters in ES|QL, scheduled for 9.2.

Relates elastic/elasticsearch#134317

@pquentin pquentin added the skip-backport This pull request should not be backported label Sep 29, 2025
Copy link
Contributor

github-actions bot commented Sep 29, 2025

Following you can find the validation changes against the target branch for the API.

API Status Request Response
esql.query 🔴 348/350 → 349/350 0/0

You can validate this API yourself by using the make validate target.

@pquentin
Copy link
Member Author

The remaining failing test is expected, as it tests named parameters. We don't support those; see elastic/elasticsearch#118168. It will be skipped soon.


import { FieldValue } from '@_types/common'

export type ESQLParam = FieldValue | FieldValue[]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 for the alias.

@pquentin pquentin merged commit 3da63ab into main Sep 29, 2025
8 checks passed
@pquentin pquentin deleted the multi-valued-esql-params branch September 29, 2025 07:38
@pquentin pquentin changed the title [BREAKING] Support mutli-valued ES|QL parameters [BREAKING] Support multivalued ES|QL parameters Sep 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip-backport This pull request should not be backported specification
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants