Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1A8D917904 for ; Wed, 24 Jun 2015 13:17:05 +0000 (UTC) Received: (qmail 37382 invoked by uid 500); 24 Jun 2015 13:17:04 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 37337 invoked by uid 500); 24 Jun 2015 13:17:04 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 37327 invoked by uid 99); 24 Jun 2015 13:17:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Jun 2015 13:17:04 +0000 Date: Wed, 24 Jun 2015 13:17:04 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2152) Provide zipWithIndex utility in flink-contrib MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-2152?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1459= 9388#comment-14599388 ]=20 ASF GitHub Bot commented on FLINK-2152: --------------------------------------- Github user tillrohrmann commented on the pull request: https://github.com/apache/flink/pull/832#issuecomment-114864032 =20 Sorry for my late reply. Has everything worked out by now? =20 On Tue, Jun 23, 2015 at 2:43 PM, Andra Lungu wrote: =20 > Hey @tillrohrmann , > > Sorry for the incredibly late reply. The last weeks have been very he= ctic. > 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 pro= vide > 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 str= ongest > point. Therefore, I'd like to use this thread to ask some rather triv= ial > questions: > > Before defining implicit methods and using pimp-my-lib, I need to wra= p the > Java function. Which should be easy right? Since there is a wrap meth= od. > This being said, in org.apache.flink.api.scala, I created a DataSetUt= ils > class. and wanted to call wrap(ju.countElements...). Apparently it do= es not > let me. Can someone help me out with that? > > Thanks! > > =E2=80=94 > Reply to this email directly or view it on GitHub > . > > 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 sho= uld 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/zipwithi= ndex-on-apache-flink -- This message was sent by Atlassian JIRA (v6.3.4#6332)