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

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

Kyle Weaver created BEAM-11637:
----------------------------------

             Summary: 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


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)