Luke Cwik created BEAM-2777:
-------------------------------

             Summary: InMemoryStateInternals MapState / SetState should use 
StructuralValue for membership / key comparison checks
                 Key: BEAM-2777
                 URL: https://issues.apache.org/jira/browse/BEAM-2777
             Project: Beam
          Issue Type: Bug
          Components: runner-core, runner-direct
            Reporter: Luke Cwik


InMemoryStateInternals SetState incorrectly compares set membership by using 
object equality instead of the structural value.

InMemoryStateInternals MapState incorrectly compares key membership based upon 
key equality instead of structural value of the key equality.

This impacts DirectRunner.

Adding tests which uses byte arrays as the object within the set state and also 
byte arrays as the keys within a map state would exercise this failure 
condition.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to