tejaswini-imply commented on code in PR #12680:
URL: https://github.com/apache/druid/pull/12680#discussion_r903274058
##########
sql/src/main/java/org/apache/druid/sql/http/SqlResource.java:
##########
@@ -196,7 +197,7 @@ public Response doPost(
endLifecycle(sqlQueryId, lifecycle, timeout, remoteAddr, -1);
return buildNonOkResponse(QueryTimeoutException.STATUS_CODE, timeout,
sqlQueryId);
}
- catch (SqlPlanningException | ResourceLimitExceededException e) {
+ catch (SqlPlanningException | ResourceLimitExceededException |
BadQueryContextException e) {
Review Comment:
The only class left out is `BadJsonQueryException`, I don't see any reason
why it can't be caught here too.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]