forked from apache/drill
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DRILL-6591: Show Exception for failed queries submitted in WebUI
When query fails on Web UI result page no error is shown, only "No result found." This was because DRILL-6477 (PR apache#1309) switched to `WebUserConnection.await(long timeoutInMillis)` . Unlike the original `WebUserConnection.await()`, this method did not throw any UserException generated by a query failure. The fix was to add a new WebUser-only method - `WebUserConnection.timedWait(long timeoutInMillis)` This ensures that other callers to the `WebUserConnection.await(timeoutInMillis)` is unaffected.
- Loading branch information
Showing
2 changed files
with
34 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters