You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@nemo.apache.org by GitBox <gi...@apache.org> on 2019/01/30 08:28:26 UTC

[GitHub] jeongyooneo commented on a change in pull request #191: [NEMO-332] Refactor RunTimePass

jeongyooneo commented on a change in pull request #191: [NEMO-332] Refactor RunTimePass
URL: https://github.com/apache/incubator-nemo/pull/191#discussion_r252126857
 
 

 ##########
 File path: common/src/main/java/org/apache/nemo/common/ir/edge/executionproperty/PartitionerProperty.java
 ##########
 @@ -18,38 +18,62 @@
  */
 package org.apache.nemo.common.ir.edge.executionproperty;
 
+import org.apache.nemo.common.Pair;
 import org.apache.nemo.common.ir.executionproperty.EdgeExecutionProperty;
 
 /**
  * Partitioner ExecutionProperty.
  */
-public final class PartitionerProperty extends EdgeExecutionProperty<PartitionerProperty.Value> {
+public final class PartitionerProperty
+  extends EdgeExecutionProperty<Pair<PartitionerProperty.Type, Integer>> {
+  public static final int AUTO_NUMBER_OF_PARTITIONS = 0;
 
 Review comment:
   What does 'auto' mean here? How about `DESTINATION_PARALLELISM`?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services