-
Notifications
You must be signed in to change notification settings - Fork 25.1k
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
ESQL: Async request disregards format request #110926
Labels
Comments
Pinging @elastic/es-analytical-engine (Team:Analytics) |
👋Hi, I would like to take on the task of addressing this issue using the second method, which involves returning the async parameters as headers. Could I give it a try? Thank you! |
Issue edited to reflect current behaviour (related, #109576 added HTTP headers with the async details). |
bpintea
pushed a commit
to bpintea/elasticsearch
that referenced
this issue
Dec 9, 2024
I've updated the listener for GET /_query/async/{id} to EsqlResponseListener, so it now accepts parameters (delimiter, drop_null_columns and format) like the POST /_query API. Additionally, I have added tests to verify the correctness of the code. You can now set the format in the request parameters to specify the return style. Closes elastic#110926
elasticsearchmachine
pushed a commit
that referenced
this issue
Dec 9, 2024
I've updated the listener for GET /_query/async/{id} to EsqlResponseListener, so it now accepts parameters (delimiter, drop_null_columns and format) like the POST /_query API. Additionally, I have added tests to verify the correctness of the code. You can now set the format in the request parameters to specify the return style. Closes #110926 Co-authored-by: kanoshiou <73424326+kanoshiou@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Description
An async request in text mode (
POST _query/async?format=txt
) will return a JSON body.The text was updated successfully, but these errors were encountered: