Skip to content

[8.11] ESQL: Introduce language versioning to REST API (#106824)#107424

Closed
alex-spies wants to merge 2 commits intoelastic:8.11from
alex-spies:backport/8.11/pr-106824
Closed

[8.11] ESQL: Introduce language versioning to REST API (#106824)#107424
alex-spies wants to merge 2 commits intoelastic:8.11from
alex-spies:backport/8.11/pr-106824

Conversation

@alex-spies
Copy link
Copy Markdown
Contributor

@alex-spies alex-spies commented Apr 12, 2024

Backport

This will backport the following commits from main to 8.11:

For the _query endpoint, add a parameter for the ESQL language version to the JSON payload.
For now, it is optional and is only validated with no further action.

(cherry picked from commit 147f5a0)

# Conflicts:
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/esql/action/EsqlQueryRequest.java
#	x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/esql/action/EsqlQueryRequestBuilder.java
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlQueryRequest.java
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/EsqlQueryRequestBuilder.java
#	x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/action/RequestXContent.java
#	x-pack/plugin/esql/src/test/java/org/elasticsearch/xpack/esql/action/EsqlQueryRequestTests.java
@alex-spies alex-spies added the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Apr 12, 2024
@alex-spies alex-spies removed the auto-merge-without-approval Automatically merge pull request when CI checks pass (NB doesn't wait for reviews!) label Apr 12, 2024
@alex-spies
Copy link
Copy Markdown
Contributor Author

Closing, 8.11 not maintained anymore.

@alex-spies alex-spies closed this Apr 12, 2024
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