siddharthteotia commented on code in PR #10169: URL: https://github.com/apache/pinot/pull/10169#discussion_r1084755975
########## pinot-core/src/main/java/org/apache/pinot/core/operator/InstanceResponseOperator.java: ########## @@ -111,6 +116,10 @@ private BaseResultsBlock getCombinedResults() { try { prefetchAll(); return _combineOperator.nextBlock(); + } catch (EarlyTerminationException e) { + Exception killedErrorMsg = Tracing.getThreadAccountant().getErrorStatus(); + return new ExceptionResultsBlock(new QueryCancelledException( + "Cancelled while combining results" + (killedErrorMsg == null ? StringUtils.EMPTY : " " + killedErrorMsg))); Review Comment: ``` `throw new QueryCancelledException( "Cancelled while merging results blocks" + (killedErrorMsg == null ? StringUtils.EMPTY : " " + killedErrorMsg), e);` ``` -- 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