[
https://issues.apache.org/jira/browse/BEAM-2777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17546578#comment-17546578
]
Kenneth Knowles commented on BEAM-2777:
---------------------------------------
This issue has been migrated to https://github.com/apache/beam/issues/18427
> 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
> Priority: P3
>
> 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
(v8.20.7#820007)