yupeng9 commented on a change in pull request #6153:
URL: https://github.com/apache/incubator-pinot/pull/6153#discussion_r508779940



##########
File path: 
pinot-core/src/main/java/org/apache/pinot/core/util/TableConfigUtils.java
##########
@@ -265,6 +265,12 @@ protected static void validateUpsertConfig(TableConfig 
tableConfig, Schema schem
         tableConfig.getRoutingConfig() != null && 
RoutingConfig.REPLICA_GROUP_INSTANCE_SELECTOR_TYPE
             
.equalsIgnoreCase(tableConfig.getRoutingConfig().getInstanceSelectorType()),
         "Upsert table must use replica-group (i.e. replicaGroup) based 
routing");
+    // no startree index
+    if (tableConfig.getIndexingConfig() != null && 
tableConfig.getIndexingConfig().getStarTreeIndexConfigs() != null) {

Review comment:
       I see what you meant. Makes sense.




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

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