You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2021/01/13 18:56:00 UTC

[jira] [Updated] (BEAM-11637) BitAnd unsafely mutates an instance field.

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

Kenneth Knowles updated BEAM-11637:
-----------------------------------
    Status: Open  (was: Triage Needed)

> BitAnd unsafely mutates an instance field.
> ------------------------------------------
>
>                 Key: BEAM-11637
>                 URL: https://issues.apache.org/jira/browse/BEAM-11637
>             Project: Beam
>          Issue Type: Bug
>          Components: dsl-sql
>            Reporter: Kyle Weaver
>            Assignee: Kyle Weaver
>            Priority: P2
>
> BitAnd uses isEmpty, an instance field, to track if inputs seen thus far are null. This is an unsafe usage of CombineFn, since all mutable state is expected to be stored in the Accumulator.



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