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

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

                Author: ASF GitHub Bot
            Created on: 13/Apr/20 23:32
            Start Date: 13/Apr/20 23:32
    Worklog Time Spent: 10m 
      Work Description: jkff commented on issue #11406: [BEAM-9748] Move 
Reparallelize transform to Reshuffle
URL: https://github.com/apache/beam/pull/11406#issuecomment-613147215
 
 
   The comments inside Reparallelize explain how this transform differs from 
Reshuffle.viaRandomKey(): it performs dramatically better on Dataflow in case 
the input PCollection is generated highly sequentially, as in the case of 
reading several GB of JDBC results. It almost certainly performs somewhat worse 
if the input PCollection is generated in a well-parallelized way, but I haven't 
measured that; I haven't measured the former case for non-Dataflow runners 
either.
   
   I think it's reasonable to move this to Reshuffle, but rename it to 
something more clear: maybe Reshuffle.forSequentiallyGeneratedInput()?
 
----------------------------------------------------------------
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]


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

    Worklog Id:     (was: 421740)
    Time Spent: 1.5h  (was: 1h 20m)

> Move Reparallelize transform to Reshuffle
> -----------------------------------------
>
>                 Key: BEAM-9748
>                 URL: https://issues.apache.org/jira/browse/BEAM-9748
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-java-core
>            Reporter: Ismaël Mejía
>            Assignee: Ismaël Mejía
>            Priority: Minor
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> Some DoFn based IOs like JdbcIO and RedisIO rely on the Reparallelize 
> transform,
> a combination of a an empty PCollectionView and Reshuffle to force the
> materialization and reparallelize a PCollection. The idea of this issue is to
> extract this transform and expose it as part of the internal Reshuffle
> transform to avoid repeating the code for transforms (notably IOs) that 
> require
> to reparallelize its output.



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

Reply via email to