jineshparakh commented on code in PR #19558:
URL: https://github.com/apache/pinot/pull/19558#discussion_r4018476062


##########
pinot-query-planner/src/main/java/org/apache/pinot/query/routing/WorkerManager.java:
##########
@@ -1785,8 +1789,10 @@ private PartitionTableInfo 
calculatePartitionTableInfo(String tableName) {
       String realtimeTableName = 
TableNameBuilder.REALTIME.tableNameWithType(tableName);
       boolean offlineRoutingExists = 
_routingManager.routingExists(offlineTableName);
       boolean realtimeRoutingExists = 
_routingManager.routingExists(realtimeTableName);
-      Preconditions.checkState(offlineRoutingExists || realtimeRoutingExists, 
"Routing doesn't exist for table: %s",
-          tableName);
+      if (!offlineRoutingExists && !realtimeRoutingExists) {

Review Comment:
   Crazy find @gortiz 🚀 
   Fixed it.



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

Reply via email to