yashmayya commented on code in PR #15773:
URL: https://github.com/apache/pinot/pull/15773#discussion_r2115849485


##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotQueryResource.java:
##########
@@ -240,12 +241,13 @@ private List<String> getInstanceIds(String query, 
List<String> tableNames, Strin
     List<String> instanceIds;
     if (!tableNames.isEmpty()) {
       List<TableConfig> tableConfigList = getListTableConfigs(tableNames, 
database);
-      if (tableConfigList == null || tableConfigList.isEmpty()) {
+      List<LogicalTableConfig> logicalTableConfigList = 
getListLogicalTableConfigs(tableNames, database);
+      if ((tableConfigList == null || tableConfigList.isEmpty()) && 
logicalTableConfigList.isEmpty()) {

Review Comment:
   Thanks for the additional tests. I think the logic looks fine, and I'm okay 
with merging it with the rest of the changes here.



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