[
https://issues.apache.org/jira/browse/BEAM-6721?focusedWorklogId=670274&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-670274
]
ASF GitHub Bot logged work on BEAM-6721:
----------------------------------------
Author: ASF GitHub Bot
Created on: 26/Oct/21 18:01
Start Date: 26/Oct/21 18:01
Worklog Time Spent: 10m
Work Description: pabloem merged pull request #15500:
URL: https://github.com/apache/beam/pull/15500
--
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: 670274)
Time Spent: 2h 40m (was: 2.5h)
> setting numshards dynamically for TextIO.write()
> -------------------------------------------------
>
> Key: BEAM-6721
> URL: https://issues.apache.org/jira/browse/BEAM-6721
> Project: Beam
> Issue Type: Improvement
> Components: io-java-text
> Reporter: Aditya Guru
> Priority: P3
> Time Spent: 2h 40m
> Remaining Estimate: 0h
>
> I go through code for TextIO. It uses WriteFiles in TypedWrite. Now,
> WriteFiles has the functionality
> withNumShards(ValueProvider<java.lang.Integer>) and
> [withSharding|https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/io/WriteFiles.html#withSharding-org.apache.beam.sdk.transforms.PTransform-]([PTransform|https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/transforms/PTransform.html]<[PCollection|https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/values/PCollection.html]<[UserT|https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/io/WriteFiles.html]>,[PCollectionView|https://beam.apache.org/releases/javadoc/2.9.0/org/apache/beam/sdk/values/PCollectionView.html]<java.lang.Integer>>
> sharding) but TextIO or its inner class TypedWrite doesn't have that. It
> would really be a great to expose that functionality to user.
> Are there some issues in implementation that this is not already available?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)