je-ik commented on code in PR #30545: URL: https://github.com/apache/beam/pull/30545#discussion_r1531642528
########## runners/flink/src/main/java/org/apache/beam/runners/flink/FlinkBatchPortablePipelineTranslator.java: ########## @@ -290,6 +296,26 @@ public FlinkPortablePipelineTranslator.Executor translate( return context; } + private static <K, V> void translateRedistributeByKey( + PTransformNode transform, RunnerApi.Pipeline pipeline, BatchTranslationContext context) { + DataSet<WindowedValue<KV<K, V>>> inputDataSet = + context.getDataSetOrThrow( + Iterables.getOnlyElement(transform.getTransform().getInputsMap().values())); + context.addDataSet( + Iterables.getOnlyElement(transform.getTransform().getOutputsMap().values()), + inputDataSet.rebalance()); Review Comment: This can be resolved later. -- 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. To unsubscribe, e-mail: github-unsubscr...@beam.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org