darshanj commented on a change in pull request #11682:
URL: https://github.com/apache/beam/pull/11682#discussion_r428399770



##########
File path: 
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Partition.java
##########
@@ -124,21 +190,26 @@ private Partition(PartitionDoFn<T> partitionDoFn) {
 
   private static class PartitionDoFn<X> extends DoFn<X, Void> {
     private final int numPartitions;
-    private final PartitionFn<? super X> partitionFn;
     private final TupleTagList outputTags;
+    private Contextful<Contextful.Fn<X, Integer>> ctxFn;
+    private Object originalFnForDisplayData;
 
     /**
      * Constructs a PartitionDoFn.
      *
      * @throws IllegalArgumentException if {@code numPartitions <= 0}
      */
-    public PartitionDoFn(int numPartitions, PartitionFn<? super X> 
partitionFn) {
+    public PartitionDoFn(

Review comment:
       Done.Thanks

##########
File path: 
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Partition.java
##########
@@ -124,21 +190,26 @@ private Partition(PartitionDoFn<T> partitionDoFn) {
 
   private static class PartitionDoFn<X> extends DoFn<X, Void> {
     private final int numPartitions;
-    private final PartitionFn<? super X> partitionFn;
     private final TupleTagList outputTags;
+    private Contextful<Contextful.Fn<X, Integer>> ctxFn;
+    private Object originalFnForDisplayData;

Review comment:
       Done Thanks




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


Reply via email to