Jackie-Jiang commented on a change in pull request #7921:
URL: https://github.com/apache/pinot/pull/7921#discussion_r771757109



##########
File path: 
pinot-segment-local/src/main/java/org/apache/pinot/segment/local/utils/TableConfigUtils.java
##########
@@ -330,8 +333,8 @@ static void validateTaskConfigs(TableConfig tableConfig, 
Schema schema) {
         // TODO task specific validate logic should directly call to 
PinotTaskGenerator API
         if (taskTypeConfigName.equals(REALTIME_TO_OFFLINE_TASK_TYPE)) {
           // check table is not upsert
-          Preconditions.checkState(tableConfig.getUpsertMode() == 
UpsertConfig.Mode.NONE,
-              "RealtimeToOfflineTask doesn't support upsert ingestion mode!");
+          Preconditions.checkState(tableConfig.getUpsertMode() == 
UpsertConfig.Mode.NONE || taskTypeConfig.containsKey(

Review comment:
       Yes, essentially we can add different skip rules to allow users to skip 
certain checks when adding/updating the table config




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