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: [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]