[
https://issues.apache.org/jira/browse/BEAM-13720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17549744#comment-17549744
]
Danny McCormick commented on BEAM-13720:
----------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/21317
> TextIO.write .withWindowedWrites does not work on windows
> ---------------------------------------------------------
>
> Key: BEAM-13720
> URL: https://issues.apache.org/jira/browse/BEAM-13720
> Project: Beam
> Issue Type: Bug
> Components: io-java-text
> Affects Versions: 2.35.0
> Reporter: Kaj
> Priority: P3
> Labels: starter
>
> This basic code fails on MS Windows
> .apply(TextIO.write().to("anything")
> .withWindowedWrites()
> .withNumShards(1)
> with
> java.nio.file.InvalidPathException: Illegal char <:> at index 16:
> anything2021-12-31T23:00:00.000Z....
> because the default FilenamePolicy uses a simple Instant format for Beam
> Windows that includes ":" which are illegal in MS Windows paths
--
This message was sent by Atlassian Jira
(v8.20.7#820007)