beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ben Chambers (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (BEAM-661) CalendarWindows#isCompatibleWith should use equals instead of ==
Date Wed, 21 Sep 2016 18:24:20 GMT

     [ https://issues.apache.org/jira/browse/BEAM-661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ben Chambers closed BEAM-661.
-----------------------------
       Resolution: Duplicate
    Fix Version/s: Not applicable

> 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
>             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)

Mime
View raw message