soumitra-st commented on code in PR #12673:
URL: https://github.com/apache/pinot/pull/12673#discussion_r1538339891


##########
pinot-clients/pinot-java-client/src/main/java/org/apache/pinot/client/BrokerCache.java:
##########
@@ -190,7 +190,7 @@ protected void updateBrokerData()
 
   public String getBroker(String... tableNames) {
     List<String> brokers = null;
-    if (tableNames != null) {
+    if (!(tableNames == null || tableNames.length == 0 || tableNames[0] == 
null)) {

Review Comment:
   Pushed a change to filter out nulls if the tableNames is non-null.



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