gortiz commented on code in PR #14951:
URL: https://github.com/apache/pinot/pull/14951#discussion_r1942610938


##########
pinot-common/src/main/java/org/apache/pinot/common/response/broker/BrokerResponseNative.java:
##########
@@ -110,6 +110,10 @@ public BrokerResponseNative(ProcessingException exception) 
{
     _exceptions.add(new QueryProcessingException(exception.getErrorCode(), 
exception.getMessage()));
   }
 
+  public BrokerResponseNative(int errorCode, String errorMessage) {
+    _exceptions.add(new QueryProcessingException(errorCode, errorMessage));

Review Comment:
   I've added a TODO to rename this class at 
https://github.com/apache/pinot/pull/14994.
   
   That PR is already too long, so I preferred not to rename it to make it even 
longer.



-- 
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

Reply via email to