[ 
https://issues.apache.org/jira/browse/BEAM-12999?focusedWorklogId=663595&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-663595
 ]

ASF GitHub Bot logged work on BEAM-12999:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 11/Oct/21 15:22
            Start Date: 11/Oct/21 15:22
    Worklog Time Spent: 10m 
      Work Description: kw2542 commented on a change in pull request #15665:
URL: https://github.com/apache/beam/pull/15665#discussion_r726214979



##########
File path: 
runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/ReshuffleTranslation.java
##########
@@ -36,26 +36,43 @@
 })
 public class ReshuffleTranslation {
 
-  static class ReshuffleTranslator implements 
TransformPayloadTranslator<Reshuffle<?, ?>> {

Review comment:
       @robertwb @je-ik are you suggesting that we keep Reshuffle itself as a 
PTranform as well and continue register it?
   
   IIRC, ReshuffleTranslation is used only for Java Pipelines, since we have 
updated Reshuffle.of() to return Reshuffle.PerKey which is registered as the 
new urn, there is no need for us to keep Reshuffle itself a PTransform with the 
old urn anymore.
   
   It is true that runners who are translating the old urn needs to be updated 
in order to be able to recoganize and translate the new urn, however, I don't 
think keeping the registration here helps. Am I missing anything?




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 663595)
    Time Spent: 6.5h  (was: 6h 20m)

> Improve Reshuffle Transform
> ---------------------------
>
>                 Key: BEAM-12999
>                 URL: https://issues.apache.org/jira/browse/BEAM-12999
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go, sdk-java-core, sdk-py-core
>            Reporter: Ke Wu
>            Assignee: Ke Wu
>            Priority: P2
>          Time Spent: 6.5h
>  Remaining Estimate: 0h
>
> See discussion 
> [https://lists.apache.org/thread.html/r83adaad3a512ad186f2f9dc9dc4bec2a789070677c07cdcaad6fcfa5%40%3Cdev.beam.apache.org%3E]
>  
>  
> “beam:transform:reshuffle:v1" Transform represents different semantic 
> transforms in different SDKs. The proposal is to replace 
> "beam:transform:reshuffle:v1" with two new urns, one to represent reshuffle 
> KV PCollection using the K, and the other to reshuffle based on random key.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to