You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ben Chambers (JIRA)" <ji...@apache.org> on 2016/09/21 18:22:20 UTC
[jira] [Created] (BEAM-661) CalendarWindows#isCompatibleWith should
use equals instead of ==
Ben Chambers created BEAM-661:
---------------------------------
Summary: 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
Assignee: Davor Bonaci
Priority: Minor
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)