Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-11637

BitAnd unsafely mutates an instance field.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.28.0
    • Component/s: dsl-sql
    • Labels:
      None

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ibzib Kyle Weaver
                Reporter:
                ibzib Kyle Weaver
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1h 10m
                  1h 10m