You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2020/04/13 23:31:46 UTC

[GitHub] [beam] iemejia commented on a change in pull request #11406: [BEAM-9748] Move Reparallelize transform to Reshuffle

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:
users@infra.apache.org


With regards,
Apache Git Services