npawar commented on a change in pull request #7158:
URL: https://github.com/apache/incubator-pinot/pull/7158#discussion_r669999594



##########
File path: 
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/realtime_to_offline_segments/RealtimeToOfflineSegmentsTaskGenerator.java
##########
@@ -207,29 +207,35 @@ public String getTaskType() {
       configs.put(MinionConstants.DOWNLOAD_URL_KEY, 
StringUtils.join(downloadURLs, MinionConstants.URL_SEPARATOR));
       configs.put(MinionConstants.UPLOAD_URL_KEY, 
_clusterInfoAccessor.getVipUrl() + "/segments");
 
-      // Execution window
+      // Segment processor configs
       configs.put(RealtimeToOfflineSegmentsTask.WINDOW_START_MS_KEY, 
String.valueOf(windowStartMs));
       configs.put(RealtimeToOfflineSegmentsTask.WINDOW_END_MS_KEY, 
String.valueOf(windowEndMs));
-
-      // Segment processor configs
-      String timeColumnTransformationConfig =
-          
taskConfigs.get(RealtimeToOfflineSegmentsTask.TIME_COLUMN_TRANSFORM_FUNCTION_KEY);
-      if (timeColumnTransformationConfig != null) {
-        
configs.put(RealtimeToOfflineSegmentsTask.TIME_COLUMN_TRANSFORM_FUNCTION_KEY, 
timeColumnTransformationConfig);
+      String roundBucketTimePeriod = 
taskConfigs.get(RealtimeToOfflineSegmentsTask.ROUND_BUCKET_TIME_PERIOD_KEY);
+      if (roundBucketTimePeriod != null) {
+        
configs.put(RealtimeToOfflineSegmentsTask.ROUND_BUCKET_TIME_PERIOD_KEY, 
roundBucketTimePeriod);

Review comment:
       can you give an example of when a user might have to use the 
PARTITION_BUCKET_TIME_PERIOD? and how will it look in the 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