You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 19:19:42 UTC

[GitHub] [beam] kennknowles opened a new issue, #18573: TextIO.withoutSharding sets shard template name to empty string instead of null

kennknowles opened a new issue, #18573:
URL: https://github.com/apache/beam/issues/18573

   
   If TextIO.Write.withoutSharding() is called, it sets shard template name to empty string by calling withShardTemplateName(""). This causes an issue if custom filename policy is also set, since checks in expand() require that shardTemplateName is null if filenamePolicy is set.
   
   Only workaround is currently to explicitly call withShardNAmeTemplate(null) after calling withoutSharding() resulting in an ugly code.
   
   
   
   Imported from Jira [BEAM-3082](https://issues.apache.org/jira/browse/BEAM-3082). Original Jira may contain additional context.
   Reported by: sivu.


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org