[
https://issues.apache.org/jira/browse/BEAM-9748?focusedWorklogId=421739&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-421739
]
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: iemejia commented on pull request #11406: [BEAM-9748]
Move Reparallelize transform to Reshuffle
URL: https://github.com/apache/beam/pull/11406#discussion_r407778247
##########
File path:
sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/Reshuffle.java
##########
@@ -65,6 +66,11 @@ private Reshuffle() {}
return new ViaRandomKey<>();
}
+ @Experimental
+ public static <T> Reparallelize<T> reparallelize() {
Review comment:
Yes I will improve the javadoc, maybe move some of the details in the impl.
comment below.
----------------------------------------------------------------
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: 421739)
Time Spent: 1h 20m (was: 1h 10m)
> 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: 1h 20m
> 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)