abhishekagarwal87 commented on code in PR #12680:
URL: https://github.com/apache/druid/pull/12680#discussion_r903294258


##########
sql/src/main/java/org/apache/druid/sql/http/SqlResource.java:
##########
@@ -196,7 +195,7 @@ public Response doPost(
       endLifecycle(sqlQueryId, lifecycle, timeout, remoteAddr, -1);
       return buildNonOkResponse(QueryTimeoutException.STATUS_CODE, timeout, 
sqlQueryId);
     }
-    catch (SqlPlanningException | ResourceLimitExceededException e) {
+    catch (BadQueryException e) {

Review Comment:
   you will need to make a similar change in QueryResource 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]

Reply via email to