eaugene commented on code in PR #11592:
URL: https://github.com/apache/pinot/pull/11592#discussion_r1327628047
##########
pinot-broker/src/main/java/org/apache/pinot/broker/requesthandler/MultiStageBrokerRequestHandler.java:
##########
@@ -197,6 +197,7 @@ protected BrokerResponse handleRequest(long requestId,
String query, @Nullable S
String tableName = entry.getKey();
Set<String> unavailableSegments = entry.getValue();
numUnavailableSegments += unavailableSegments.size();
+ brokerResponse.setPartialResult(true);
brokerResponse.addToExceptions(new
QueryProcessingException(QueryException.SERVER_SEGMENT_MISSING_ERROR_CODE,
Review Comment:
If some servers are not available we currently used to throw an Exception
instead of the results
So likely this won't be required as we have an exception stating which
servers are in error
--
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]