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/08/17 17:22:34 UTC

[GitHub] [beam] lukecwik commented on a change in pull request #12599: [BEAM-10670] Make key coder deterministic by using upstream PCollection which uses random byte[] as the key.

lukecwik commented on a change in pull request #12599:
URL: https://github.com/apache/beam/pull/12599#discussion_r471639540



##########
File path: runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/SplittableParDoNaiveBounded.java
##########
@@ -106,8 +106,8 @@
     @Override
     public PCollectionTuple expand(PCollection<KV<byte[], KV<InputT, RestrictionT>>> input) {
       return input
-          .apply("Drop key", Values.create())
           .apply("Reshuffle", Reshuffle.of())
+          .apply("Drop key", Values.create())

Review comment:
       The `input` PCollection passed in is already using random keys.




----------------------------------------------------------------
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