You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Stephan Ewen (JIRA)" <ji...@apache.org> on 2016/02/16 21:40:18 UTC

[jira] [Commented] (FLINK-3419) Drop partitionByHash from DataStream

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

Stephan Ewen commented on FLINK-3419:
-------------------------------------

+1 from my side

It seems it can do nothing that {{keyBy()}} would not do either, and it adds clutter to the API.

> Drop partitionByHash from DataStream
> ------------------------------------
>
>                 Key: FLINK-3419
>                 URL: https://issues.apache.org/jira/browse/FLINK-3419
>             Project: Flink
>          Issue Type: Improvement
>          Components: Streaming
>    Affects Versions: 1.0.0
>            Reporter: Aljoscha Krettek
>            Priority: Blocker
>
> The behavior is no different from {{keyBy}}, except that you cannot use keyed state and windows if you use {{partitionByHash}} so I suggest to drop it.
> We might also want to think about dropping {{shuffle}} and {{global}}.



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