KKcorps commented on a change in pull request #5892: URL: https://github.com/apache/incubator-pinot/pull/5892#discussion_r473161253
########## 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: Yes. JDBC also follows a similar theme where you can return a ResultSetMetadata along with the actual result. ---------------------------------------------------------------- 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