flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1599) TypeComperator with no keys and comparators matches some elements
Date Thu, 01 Oct 2015 20:57:26 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1599?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14940398#comment-14940398

ASF GitHub Bot commented on FLINK-1599:

Github user hsaputra commented on the pull request:

    Test fail on StormWordCountLocalITCase not related to the changes.

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

View raw message