xiangfu0 commented on code in PR #8465: URL: https://github.com/apache/pinot/pull/8465#discussion_r847830168
########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/PinotTaskGenerator.java: ########## @@ -45,6 +46,12 @@ public interface PinotTaskGenerator { */ List<PinotTaskConfig> generateTasks(List<TableConfig> tableConfigs); + /** + * Generates a list of adhoc tasks to schedule based on the given table configs and task configs. + */ + List<PinotTaskConfig> generateAdhocTasks(TableConfig tableConfig, Map<String, String> taskConfigs) Review Comment: changed. ########## pinot-controller/src/main/java/org/apache/pinot/controller/helix/core/minion/generator/BaseTaskGenerator.java: ########## @@ -68,4 +72,11 @@ public int getNumConcurrentTasksPerInstance() { } return JobConfig.DEFAULT_NUM_CONCURRENT_TASKS_PER_INSTANCE; } + + @Override + public List<PinotTaskConfig> generateAdhocTasks(TableConfig tableConfig, Map<String, String> taskConfigs) + throws Exception { + throw new UnsupportedOperationException( Review Comment: done -- 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