You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Artem Stasiuk (JIRA)" <ji...@apache.org> on 2017/02/06 03:12:42 UTC

[jira] [Commented] (FLINK-4047) Fix documentation about determinism of KeySelectors

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

Artem Stasiuk commented on FLINK-4047:
--------------------------------------

So we just need to specify that for same value ```KeySelector``` should return same key? Does same mean identity?

> Fix documentation about determinism of KeySelectors
> ---------------------------------------------------
>
>                 Key: FLINK-4047
>                 URL: https://issues.apache.org/jira/browse/FLINK-4047
>             Project: Flink
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 1.1.0, 1.0.3
>            Reporter: Fabian Hueske
>              Labels: starter
>
> KeySelectors must return deterministic keys, i.e., if invoked multiple times on the same object, the returned key must be the same.
> The documentation about this aspect is broken ("The key can be of any type and be derived from arbitrary computations.").
> We need to fix the JavaDocs of the {{KeySelector}} interface and the web documentation (https://ci.apache.org/projects/flink/flink-docs-master/apis/common/index.html#specifying-keys).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)