You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Thomas Groh (JIRA)" <ji...@apache.org> on 2017/04/21 02:47:04 UTC

[jira] [Commented] (BEAM-1022) StateNamespace should not use Java object equality when comparing windows

    [ https://issues.apache.org/jira/browse/BEAM-1022?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15977973#comment-15977973 ] 

Thomas Groh commented on BEAM-1022:
-----------------------------------

Specifically, https://github.com/apache/beam/blob/master/runners/core-java/src/main/java/org/apache/beam/runners/core/StateNamespaces.java#L211 uses the window for the Cache Key, but there is no requirement that window defines a meaningful {{equals}} or {{hashCode}}

> StateNamespace should not use Java object equality when comparing windows
> -------------------------------------------------------------------------
>
>                 Key: BEAM-1022
>                 URL: https://issues.apache.org/jira/browse/BEAM-1022
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-core
>            Reporter: Reuven Lax
>            Assignee: Thomas Groh
>




--
This message was sent by Atlassian JIRA
(v6.3.15#6346)