Skip to content
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

Retrieving query status and cancelling query #75

Open
bblodg opened this issue Sep 13, 2023 · 1 comment
Open

Retrieving query status and cancelling query #75

bblodg opened this issue Sep 13, 2023 · 1 comment

Comments

@bblodg
Copy link

bblodg commented Sep 13, 2023

It seems that the kill and query commands call the "v1/query/" endpoint, however I'm getting the following 404 path not found error:
{"timestamp: "...", "status":404, "error": "Not Found", "path":"v1/query/{query-id}"}

I noticed that in Presto + Trino documentation, they say that these get and delete requests should be made to the nextUri, which include the "v1/statement" path as opposed to above: https://prestodb.io/docs/current/develop/client-protocol.html

@MasterOdin
Copy link
Contributor

Looks like doing DELETE /v1/query/{query-id} was the suggested mechanism back in 2019 (https://github.com/prestodb/presto/wiki/HTTP-Protocol), but they've since changed that at some point to instead doing the DELETE against the nextUri.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants