ashishjayamohan commented on code in PR #14199: URL: https://github.com/apache/pinot/pull/14199#discussion_r1805607693
########## pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/BaseSingleStageBrokerRequestHandler.java: ########## @@ -660,7 +661,22 @@ protected BrokerResponse handleRequest(long requestId, String query, SqlNodeAndO List<ProcessingException> exceptions = new ArrayList<>(); if (numUnavailableSegments > 0) { String errorMessage; - if (numUnavailableSegments > MAX_UNAVAILABLE_SEGMENTS_TO_PRINT_IN_QUERY_EXCEPTION) { + if (((realtimeTableConfig != null && offlineTableConfig != null) Review Comment: Other than consolidating the `isTableDisabled` calls into local variables, does the logic need to change at all? In this version, I think I am skipping adding unavailable segments if either the offline or realtime table is disabled. Feel free to let me know if that's wrong. -- 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