zhijiangW commented on a change in pull request #6417: [FLINK-9913][runtime]
Improve output serialization only once in RecordWriter
URL: https://github.com/apache/flink/pull/6417#discussion_r213352672
##########
File path:
flink-runtime/src/test/java/org/apache/flink/runtime/io/network/api/writer/RecordWriterTest.java
##########
@@ -524,6 +615,31 @@ public void read(DataInputView in) throws IOException {
}
}
+ /**
+ * Broadcast channel selector that selects all the output channels.
+ */
+ private static class Broadcast<T extends IOReadableWritable> implements
ChannelSelector<T> {
+
+ private int[] returnChannel;
+ boolean set;
Review comment:
yes, i just copy the code from `BroadcastPartitioner`, and i will simple
this code in a hotfix commit later.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services