jihoonson commented on a change in pull request #8925: Parallel indexing single 
dim partitions
URL: https://github.com/apache/incubator-druid/pull/8925#discussion_r351027883
 
 

 ##########
 File path: 
indexing-service/src/main/java/org/apache/druid/indexing/common/task/batch/parallel/ParallelIndexSupervisorTask.java
 ##########
 @@ -519,6 +574,101 @@ private TaskStatus 
runHashPartitionMultiPhaseParallel(TaskToolbox toolbox) throw
     return TaskStatus.fromCode(getId(), state);
   }
 
+  private TaskStatus runRangePartitionMultiPhaseParallel(TaskToolbox toolbox) 
throws Exception
+  {
+    assertDataSketchesAvailable();
+
+    ParallelIndexTaskRunner<PartialDimensionDistributionTask, 
DimensionDistributionReport> distributionRunner =
+        createRunner(
+            toolbox,
+            this::createPartialDimensionDistributionRunner
+        );
+
+    TaskState distributionState = runNextPhase(distributionRunner);
+    if (distributionState.isFailure()) {
+      return TaskStatus.failure(getId());
+    }
+
+    Map<Interval, String[]> intervalToPartitions =
 
 Review comment:
   I think it makes more sense to add a class wrapping `String[]` rather than 
the map.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to