[
https://issues.apache.org/jira/browse/FLINK-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14716512#comment-14716512
]
ASF GitHub Bot commented on FLINK-2152:
---------------------------------------
Github user andralungu commented on the pull request:
https://github.com/apache/flink/pull/1058#issuecomment-135396805
Yup that's what I thought as well.
However, I only tested `zipWithUniqueId` on a cluster.
A student came to me and said that `zipWithIndex` did not work in a cluster
environment (I believed him) and claimed some days after via the Jira issue
that this was the fix that worked for him.
That's all the input I have.
> Provide zipWithIndex utility in flink-contrib
> ---------------------------------------------
>
> Key: FLINK-2152
> URL: https://issues.apache.org/jira/browse/FLINK-2152
> Project: Flink
> Issue Type: Improvement
> Components: Java API
> Reporter: Robert Metzger
> Assignee: Andra Lungu
> Priority: Trivial
> Labels: starter
> Fix For: 0.10
>
>
> We should provide a simple utility method for zipping elements in a data set
> with a dense index.
> its up for discussion whether we want it directly in the API or if we should
> provide it only as a utility from {{flink-contrib}}.
> I would put it in {{flink-contrib}}.
> See my answer on SO:
> http://stackoverflow.com/questions/30596556/zipwithindex-on-apache-flink
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)