damccorm opened a new issue, #20849: URL: https://github.com/apache/beam/issues/20849
When given a concrete `FileSink`, `WriteToFiles` will re-use the same sink across windows: - https://github.com/apache/beam/blob/e92d184abc79fe84c48de3dfd9dd168d9b38feac/sdks/python/apache_beam/io/fileio.py#L461 - https://github.com/apache/beam/blob/e92d184abc79fe84c48de3dfd9dd168d9b38feac/sdks/python/apache_beam/io/fileio.py#L625 This can lead to data for one window being written to the sink for another window. See discussion: https://github.com/apache/beam/pull/14374#discussion_r604320333 Imported from Jira [BEAM-12072](https://issues.apache.org/jira/browse/BEAM-12072). Original Jira may contain additional context. Reported by: bhulette. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
