deemoliu commented on a change in pull request #7908:
URL: https://github.com/apache/pinot/pull/7908#discussion_r770991863
##########
File path:
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
##########
@@ -827,5 +827,20 @@ public static void verifyHybridTableConfigs(String
rawTableName, TableConfig off
"Time column names are different for table: %s! Offline time column
name: %s. Realtime time column name: %s",
rawTableName, offlineTimeColumnName, realtimeTimeColumnName));
}
+ TenantConfig offlineTenantConfig = offlineTableConfig.getTenantConfig();
+ TenantConfig realtimeTenantConfig = realtimeTableConfig.getTenantConfig();
+ String offlineBroker = offlineTenantConfig.getBroker();
+ String realtimeBroker = realtimeTenantConfig.getBroker();
+ if (offlineBroker == null || realtimeBroker == null) {
+ throw new IllegalStateException(String.format(
Review comment:
Thanks @mcvsubbu got you points. I will fix 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]