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

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

                Author: ASF GitHub Bot
            Created on: 07/Oct/21 23:34
            Start Date: 07/Oct/21 23:34
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on pull request #15500:
URL: https://github.com/apache/beam/pull/15500#issuecomment-937217890


   Run Java PreCommit


-- 
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: 662313)
    Time Spent: 1.5h  (was: 1h 20m)

> 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: 1.5h
>  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)

Reply via email to