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)

Reply via email to