You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Maximilian Michels (JIRA)" <ji...@apache.org> on 2015/10/02 12:00:29 UTC

[jira] [Closed] (FLINK-1599) TypeComperator with no keys and comparators matches some elements

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

Maximilian Michels closed FLINK-1599.
-------------------------------------
       Resolution: Fixed
         Assignee: Maximilian Michels
    Fix Version/s: 0.10

Fixed via {{df871b3ca1effdb2f4d5cbdb9d35c62a60a1564f}}.

> TypeComperator with no keys and comparators matches some elements
> -----------------------------------------------------------------
>
>                 Key: FLINK-1599
>                 URL: https://issues.apache.org/jira/browse/FLINK-1599
>             Project: Flink
>          Issue Type: Bug
>          Components: Distributed Runtime
>    Affects Versions: 0.8.0
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Minor
>             Fix For: 0.10
>
>
> If you create a custom type comparator by subclassing {{TypeComperator}} and implement {{int extractKeys(Object record, Object[] target, int index)}} and {{TypeComparator[] getFlatComparators()}} to return 0 and no type comparators respectively, the {{coGroup}} operator (possibly others) find matching elements although no comparators have been specified.
> In this case, the expected behavior for a CoGroup would be that only elements from one side are supplied in the CoGroup method.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)