-
Notifications
You must be signed in to change notification settings - Fork 83
Closed
Description
Bug Description
When a user clicks "Run" to start a Presto query and then immediately clicks "Cancel", the query doesn't actually stop executing.
Root Cause Hypothesis
This might be because Presto's cancel route returns success even if queries aren't submitted yet to the Presto engine.
Reproduction Steps
- Navigate to the search interface
- Enter a query
- Click "Run" button
- Immediately click "Cancel" button
- Observe that the query continues to execute instead of being cancelled
Expected Behavior
The query should be cancelled and stop executing when the Cancel button is clicked.
Additional Context
- This bug is unrelated to PR fix(webui): Log Presto cancel route output as object instead of string. #1191 which only addresses logging format in the cancel route
- May be automatically resolved in a future PR when query status is handled correctly on the client side
- Consideration needed for RESTful API design, especially for users accessing the API directly
References
- Reported in: fix(webui): Log Presto cancel route output as object instead of string. #1191
- Reported by: @hoophalab
Metadata
Metadata
Assignees
Labels
No labels