iemejia commented on a change in pull request #14203:
URL: https://github.com/apache/beam/pull/14203#discussion_r593105553
##########
File path:
runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkBatchTransformTranslators.java
##########
@@ -772,14 +771,7 @@ public void translateNode(
doFnSchemaInformation,
sideInputMapping);
- if (FlinkCapabilities.supportsOutputDuringClosing()) {
- outputDataSet =
- new FlatMapOperator<>(inputDataSet, typeInformation,
doFnWrapper, fullName);
- } else {
- // This can be removed once we drop support for 1.8 and 1.9 versions.
- outputDataSet =
- new MapPartitionOperator<>(inputDataSet, typeInformation,
doFnWrapper, fullName);
- }
+ outputDataSet = new FlatMapOperator<>(inputDataSet, typeInformation,
doFnWrapper, fullName);
Review comment:
Oh good catch. I will fix, thx!
----------------------------------------------------------------
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]