Commit 59c78ff
committed
Fix #21317: Replace colons with underscores in window filenames for Windows compatibility
The default FilenamePolicy uses Instant.toString() for Beam Windows, which
produces ISO-8601 format (e.g., 2021-12-31T23:00:00.000Z) containing colons.
Colons are illegal characters in Windows file paths, causing
InvalidPathException when using TextIO.write().withWindowedWrites() on Windows.
This fix replaces colons with underscores in the window string format to
ensure cross-platform compatibility.1 parent e6fcdd7 commit 59c78ff
1 file changed
Lines changed: 5 additions & 1 deletion
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
356 | | - | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
357 | 361 | | |
358 | 362 | | |
359 | 363 | | |
| |||
0 commit comments