[ 
https://issues.apache.org/jira/browse/BEAM-12072?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17363096#comment-17363096
 ] 

Beam JIRA Bot commented on BEAM-12072:
--------------------------------------

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.

> WriteToFiles with a concrete sink can shunt data to a single window
> -------------------------------------------------------------------
>
>                 Key: BEAM-12072
>                 URL: https://issues.apache.org/jira/browse/BEAM-12072
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Brian Hulette
>            Priority: P3
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to