You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/10/05 23:47:00 UTC
[jira] [Work logged] (BEAM-6721) setting numshards dynamically for
TextIO.write()
[ https://issues.apache.org/jira/browse/BEAM-6721?focusedWorklogId=660639&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-660639 ]
ASF GitHub Bot logged work on BEAM-6721:
----------------------------------------
Author: ASF GitHub Bot
Created on: 05/Oct/21 23:46
Start Date: 05/Oct/21 23:46
Worklog Time Spent: 10m
Work Description: tvalentyn commented on pull request #15500:
URL: https://github.com/apache/beam/pull/15500#issuecomment-935091123
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Issue Time Tracking
-------------------
Worklog Id: (was: 660639)
Time Spent: 1h 10m (was: 1h)
> 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: 1h 10m
> 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)