You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Beam JIRA Bot (Jira)" <ji...@apache.org> on 2021/05/30 17:20:01 UTC

[jira] [Commented] (BEAM-12072) WriteToFiles with a concrete sink can shunt data to a single window

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

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

This issue is P2 but has been unassigned without any comment for 60 days so it has been labeled "stale-P2". If this issue is still affecting you, we care! Please comment and remove the label. Otherwise, in 14 days the issue will be moved to P3.

Please see https://beam.apache.org/contribute/jira-priorities/ for a detailed explanation of what these priorities mean.


> 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: P2
>              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)