kishoreg commented on a change in pull request #5892: URL: https://github.com/apache/incubator-pinot/pull/5892#discussion_r472508463
########## File path: pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/Connection.java ########## @@ -96,6 +96,18 @@ public ResultSetGroup execute(Request request) return execute(null, request); } + /** + * Executes a Pinot Request and returns the Response. + * + * @param request The request to execute + * @return The BrokerResponse for the request. + * @throws PinotClientException If an exception occurs while processing the query + */ + public BrokerResponse executeRequest(Request request) Review comment: why not add the response stats as part of the existing return type. It maintains backwards compatibility and simply adds an additional method in ResultSetGroup ---------------------------------------------------------------- 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. 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