zhuzhurk commented on a change in pull request #13924:
URL: https://github.com/apache/flink/pull/13924#discussion_r602064192



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/SortMergeResultPartition.java
##########
@@ -455,4 +458,28 @@ public int getNumberOfQueuedBuffers(int 
targetSubpartition) {
     PartitionedFile getResultFile() {
         return resultFile;
     }
+
+    @VisibleForTesting
+    SortMergeResultPartitionReader getPartitionReader() {
+        return partitionReader;
+    }
+
+    private int[] getRandomSubpartitionOrder(int numSubpartitions) {

Review comment:
       I second with @gaoyunhaii to reused existing libs for this shuffle




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