Skip to content

Parse ES|QL response body header more leniently #903

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

Merged
merged 2 commits into from
Nov 14, 2024
Merged

Conversation

swallez
Copy link
Member

@swallez swallez commented Nov 13, 2024

A took property was added in ES 8.16, which caused EsqlAdapterBase.readHeader().

This PR fixes that, by handling took and also by ignoring unknown properties encountered before the values array.

Copy link
Contributor

@l-trotta l-trotta left a comment

Choose a reason for hiding this comment

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

LGTM!

@l-trotta l-trotta merged commit d130ce5 into main Nov 14, 2024
7 checks passed
@l-trotta l-trotta deleted the fix-esql-adapter branch November 14, 2024 16:55
github-actions bot pushed a commit that referenced this pull request Nov 14, 2024
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Nov 18, 2024
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
github-actions bot pushed a commit that referenced this pull request Nov 19, 2024
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
l-trotta added a commit that referenced this pull request Nov 19, 2024
Co-authored-by: Sylvain Wallez <sylvain@elastic.co>
Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
livebcdev0603 added a commit to livebcdev0603/elasticsearch-java-client-demo that referenced this pull request Apr 10, 2025
superalive1005 added a commit to superalive1005/elasticsearch-java-client-demo 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants