flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-3419) Drop partitionByHash from DataStream
Date Wed, 17 Feb 2016 10:02:18 GMT

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

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

You can simply swap the {{partitionByHash}} call with a {{keyBy}} call and everything should
remain stay the same.

{{keyBy()}} can additionally work as a preparation for key-ed grouping for windows, but unless
you use a window, it simply remains a hash partitioning.


> 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
>            Assignee: Stephan Ewen
>            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)

Mime
View raw message