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 2022/02/01 20:04:55 UTC

[GitHub] [beam] pabloem commented on a change in pull request #15549: [BEAM-11997] Changed RedisIO implementation to SDF

pabloem commented on a change in pull request #15549:
URL: https://github.com/apache/beam/pull/15549#discussion_r796960602



##########
File path: sdks/java/io/redis/src/main/java/org/apache/beam/sdk/io/redis/RedisIO.java
##########
@@ -447,7 +388,7 @@ public void processElement(ProcessContext c) {
                         }
                       })
                   .withSideInputs(empty));
-      return materialized.apply(Reshuffle.viaRandomKey());
+      return materialized.apply(Distinct.create());

Review comment:
       why are we using distinct here?




-- 
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-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org