davecromberge commented on code in PR #14856:
URL: https://github.com/apache/pinot/pull/14856#discussion_r1935312657


##########
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/mergerollup/MergeRollupTaskUtils.java:
##########
@@ -78,16 +79,59 @@ public static Map<String, Map<String, String>> 
getLevelToConfigMap(Map<String, S
     return levelToConfigMap;
   }
 
+  /**
+   * Returns a lookup key composed of the current merge level / key combination
+   * @param key the key of the value within the task configuration.
+   * @param taskConfig the current merge rollup task configuration used for 
sourcing the merge level.
+   * @return composite lookup key if the merge level is configured.  
Otherwise, return original key.
+   */
+  public static String buildMergeLevelKeyPrefix(String key, Map<String, 
String> taskConfig) {

Review Comment:
   @swaminathanmanish I have added validation to the task generation - please 
review.



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