gortiz commented on code in PR #15037: URL: https://github.com/apache/pinot/pull/15037#discussion_r1975549617
########## 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: For the record, the code is like this right now because initially, QueryErrorCode was an int instead of an enum, so there was no way to store the default message. -- 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