[
https://issues.apache.org/jira/browse/FLINK-2152?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597594#comment-14597594
]
ASF GitHub Bot commented on FLINK-2152:
---------------------------------------
Github user andralungu commented on the pull request:
https://github.com/apache/flink/pull/832#issuecomment-114481973
Hey @tillrohrmann ,
Sorry for the incredibly late reply. The last weeks have been very hectic.
Nevertheless, I'd like to properly finish and polish this issue very soon.
For that: I have addressed the Java comments, but I still have to provide
support for Scala. I love this task because it really takes me out of my
comfort zone: Gelly and Java. It's no secret that Scala is not my strongest
point. Therefore, I'd like to use this thread to ask some rather trivial
questions:
Before defining implicit methods and using pimp-my-lib, I need to wrap the
Java function. Which should be easy right? Since there is a `wrap` method.
This being said, in org.apache.flink.api.scala, I created a DataSetUtils
class. and wanted to call wrap(ju.countElements...). Apparently it does not let
me. Can someone help me out with that?
Thanks!
> 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
>
> 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)