You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2022/03/26 17:26:00 UTC

[jira] [Updated] (BEAM-13720) TextIO.write .withWindowedWrites does not work on windows

     [ https://issues.apache.org/jira/browse/BEAM-13720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Beam JIRA Bot updated BEAM-13720:
---------------------------------
    Labels: stale-P2 starter  (was: starter)

> 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: P2
>              Labels: stale-P2, 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)