You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/04 19:54:29 UTC

[GitHub] [beam] damccorm opened a new issue, #20849: WriteToFiles with a concrete sink can shunt data to a single window

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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org