You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Luke Cwik (JIRA)" <ji...@apache.org> on 2016/09/21 18:26:20 UTC
[jira] [Reopened] (BEAM-661) CalendarWindows#isCompatibleWith
should use equals instead of ==
[ https://issues.apache.org/jira/browse/BEAM-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Luke Cwik reopened BEAM-661:
----------------------------
Assignee: (was: Davor Bonaci)
> CalendarWindows#isCompatibleWith should use equals instead of ==
> ----------------------------------------------------------------
>
> Key: BEAM-661
> URL: https://issues.apache.org/jira/browse/BEAM-661
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Ben Chambers
> Priority: Minor
> Fix For: Not applicable
>
>
> http://stackoverflow.com/questions/39617897/inputs-to-flatten-had-incompatible-window-windowfns-when-cogroupbykey-with-calen
> We're using `==` instead of `.equals` to compare objects, which causes equivalent CalendarWindows to be incompatible.
> https://github.com/apache/incubator-beam/blob/master/sdks/java/core/src/main/java/org/apache/beam/sdk/transforms/windowing/CalendarWindows.java#L143
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)