[
https://issues.apache.org/jira/browse/BEAM-13720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17520002#comment-17520002
]
Beam JIRA Bot commented on BEAM-13720:
--------------------------------------
This issue was marked "stale-P2" and has not received a public comment in 14
days. It is now automatically moved to P3. If you are still affected by it, you
can comment and move it back to P2.
> 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.1#820001)