You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Lage Ragnarsson (JIRA)" <ji...@apache.org> on 2018/06/25 08:40:00 UTC
[jira] [Commented] (FLINK-553) Add getGroupKey() method to
group-at-time operators
[ https://issues.apache.org/jira/browse/FLINK-553?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16522018#comment-16522018 ]
Lage Ragnarsson commented on FLINK-553:
---------------------------------------
Has this issue been dropped or resolved? Or is there a different approach one should take in order to get access to the key in a CoGroup function? Specifically for the DataStream API.
Thanks.
> Add getGroupKey() method to group-at-time operators
> ---------------------------------------------------
>
> Key: FLINK-553
> URL: https://issues.apache.org/jira/browse/FLINK-553
> Project: Flink
> Issue Type: Improvement
> Components: DataSet API
> Reporter: GitHub Import
> Assignee: Fabian Hueske
> Priority: Major
> Labels: github-import
> Fix For: 1.0.0
>
>
> Group-at-a-time operators (Reduce & CoGroup) work on multiple records in one UDF call. Often these UDFs need to access the key that is common to all records of a group.
> We could add a function to set a the key of a group before the UDF is called (``setGroupKey()``) and a function to get the key (``getGroupKey()``) that can be called from the UDF.
> What do you think about this?
> ---------------- Imported from GitHub ----------------
> Url: https://github.com/stratosphere/stratosphere/issues/553
> Created by: [fhueske|https://github.com/fhueske]
> Labels: enhancement, java api, scala api, user satisfaction,
> Assignee: [aalexandrov|https://github.com/aalexandrov]
> Created at: Mon Mar 10 22:28:27 CET 2014
> State: open
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)