[jira] [Created] (FLINK-1599) TypeComperator

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (FLINK-1599) TypeComperator

Shang Yuanchun (Jira)
Max Michels created FLINK-1599:
----------------------------------

             Summary: TypeComperator
                 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: Max Michels
            Priority: Minor


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)