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

Beam JIRA Bot updated BEAM-12072:
---------------------------------
    Priority: P3  (was: 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
>              Labels: stale-P2
>
> 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