gortiz commented on code in PR #15037:
URL: https://github.com/apache/pinot/pull/15037#discussion_r1973625024


##########
pinot-core/src/main/java/org/apache/pinot/core/query/executor/ServerQueryExecutorV1Impl.java:
##########
@@ -322,10 +320,7 @@ private InstanceResponseBlock 
executeInternal(ServerQueryRequest queryRequest, E
       _serverMetrics.addMeteredTableValue(tableNameWithType, 
ServerMeter.QUERY_EXECUTION_EXCEPTIONS, 1);
       instanceResponse = new InstanceResponseBlock();
       // Do not log verbose error for BadQueryRequestException and 
QueryCancelledException.
-      if (e instanceof BadQueryRequestException) {
-        LOGGER.info("Caught BadQueryRequestException while processing 
requestId: {}, {}", requestId, e.getMessage());
-        
instanceResponse.addException(QueryException.getException(QueryException.QUERY_VALIDATION_ERROR,
 e));
-      } else if (e instanceof QueryCancelledException) {
+      if (e instanceof QueryCancelledException) {

Review Comment:
   TBH, I don't know; probably for historical reasons or because everything is 
the same but the message being logged.



-- 
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: commits-unsubscr...@pinot.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to