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-1023) Provide Iterable instead of Iterator to grouped functions
Date Wed, 30 Jul 2014 20:32:40 GMT

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

ASF GitHub Bot commented on FLINK-1023:

Github user StephanEwen commented on the pull request:

    I have implemented the suggestion to let the `Iterables` return the `Iterator` once, and
throw a meaningful exception otherwise.
    The old record API remains as it was before.

> Provide Iterable instead of Iterator to grouped functions
> ---------------------------------------------------------
>                 Key: FLINK-1023
>                 URL: https://issues.apache.org/jira/browse/FLINK-1023
>             Project: Flink
>          Issue Type: Wish
>          Components: Java API
>            Reporter: Ufuk Celebi
>            Priority: Trivial
>              Labels: breaking-api
> I would like the grouped functions to provide an Iterable instead of an Iterator to the
user, e.g. for the {{reduce}} method of {{GroupReduceFunction}}.
> We had a discussion about this previously (I couldn't find the respective issues/list
threads right now) and the result was in favor of the change.
> We never got around to really push for it, because of the API break. With the renaming,
it should be less of an issue.

This message was sent by Atlassian JIRA

View raw message