Skip to content

Commit

Permalink
Log warning when multi-stage engine planning throws exception (apache…
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackie-Jiang authored Sep 15, 2023
1 parent 30dae4b commit 14f3246
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ protected BrokerResponse handleRequest(long requestId, String query, @Nullable S
throw e;
} catch (RuntimeException e) {
String consolidatedMessage = ExceptionUtils.consolidateExceptionMessages(e);
LOGGER.info("Caught exception compiling request {}: {}, {}", requestId, query, consolidatedMessage);
LOGGER.warn("Caught exception planning request {}: {}, {}", requestId, query, consolidatedMessage);
_brokerMetrics.addMeteredGlobalValue(BrokerMeter.REQUEST_COMPILATION_EXCEPTIONS, 1);
requestContext.setErrorCode(QueryException.QUERY_PLANNING_ERROR_CODE);
return new BrokerResponseNative(
Expand Down

0 comments on commit 14f3246

Please sign in to comment.