iemejia commented on a change in pull request #11406: [BEAM-9748] Move
Reparallelize transform to Reshuffle
URL: https://github.com/apache/beam/pull/11406#discussion_r407778080
##########
File path:
sdks/java/io/redis/src/main/java/org/apache/beam/sdk/io/redis/RedisIO.java
##########
@@ -309,7 +305,7 @@ public ReadAll withOutputParallelization(boolean
outputParallelization) {
.apply(ParDo.of(new ReadFn(connectionConfiguration(),
batchSize())))
.setCoder(KvCoder.of(StringUtf8Coder.of(),
StringUtf8Coder.of()));
if (outputParallelization()) {
- output = output.apply(new Reparallelize());
+ output = (PCollection<KV<String, String>>)
output.apply(Reshuffle.reparallelize());
Review comment:
Not necessary, I will remove it.
----------------------------------------------------------------
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]
With regards,
Apache Git Services