yashmayya commented on code in PR #15037:
URL: https://github.com/apache/pinot/pull/15037#discussion_r1976865755
##########
pinot-common/src/main/java/org/apache/pinot/common/response/broker/BrokerResponseNative.java:
##########
@@ -59,16 +59,16 @@
public class BrokerResponseNative implements BrokerResponse {
public static final BrokerResponseNative EMPTY_RESULT =
BrokerResponseNative.empty();
public static final BrokerResponseNative NO_TABLE_RESULT =
- new BrokerResponseNative(QueryException.BROKER_RESOURCE_MISSING_ERROR);
+ new BrokerResponseNative(QueryErrorCode.BROKER_RESOURCE_MISSING,
"BrokerResourceMissingError");
Review Comment:
Makes sense, thanks for the improvement!
--
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]