zhtaoxiang commented on code in PR #9815:
URL: https://github.com/apache/pinot/pull/9815#discussion_r1024767733


##########
pinot-plugins/pinot-minion-tasks/pinot-minion-builtin-tasks/src/main/java/org/apache/pinot/plugin/minion/tasks/mergerollup/MergeRollupTaskGenerator.java:
##########
@@ -539,6 +542,13 @@ private List<PinotTaskConfig> 
createPinotTaskConfigs(List<SegmentZKMetadata> sel
     }
 
     List<PinotTaskConfig> pinotTaskConfigs = new ArrayList<>();
+    StringBuilder partitionSuffixBuilder = new StringBuilder();
+    if (partition != null && !partition.isEmpty()) {
+      for (int columnPartition : partition) {
+        
partitionSuffixBuilder.append(DELIMITER_IN_SEGMENT_NAME).append(columnPartition);

Review Comment:
   That is a great point!
   
   As discussed offline, instead of appending partition info directly, we can 
map each to a unique sequence number.



-- 
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: [email protected]

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