Return-Path: X-Original-To: apmail-datafu-dev-archive@minotaur.apache.org Delivered-To: apmail-datafu-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE0CF18BE1 for ; Mon, 3 Aug 2015 17:26:28 +0000 (UTC) Received: (qmail 11143 invoked by uid 500); 3 Aug 2015 17:26:06 -0000 Delivered-To: apmail-datafu-dev-archive@datafu.apache.org Received: (qmail 11106 invoked by uid 500); 3 Aug 2015 17:26:06 -0000 Mailing-List: contact dev-help@datafu.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@datafu.incubator.apache.org Delivered-To: mailing list dev@datafu.incubator.apache.org Received: (qmail 11095 invoked by uid 99); 3 Aug 2015 17:26:06 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 17:26:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2C2A2C1385 for ; Mon, 3 Aug 2015 17:26:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.97 X-Spam-Level: X-Spam-Status: No, score=0.97 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id xllp_avohBl9 for ; Mon, 3 Aug 2015 17:26:05 +0000 (UTC) Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with SMTP id 70EC726426 for ; Mon, 3 Aug 2015 17:26:05 +0000 (UTC) Received: (qmail 10996 invoked by uid 99); 3 Aug 2015 17:26:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Aug 2015 17:26:05 +0000 Date: Mon, 3 Aug 2015 17:26:05 +0000 (UTC) From: "Sonali totade (JIRA)" To: dev@datafu.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (DATAFU-92) Create UDF to extract tuple out of bag in a specified index MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DATAFU-92?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14652150#comment-14652150 ] Sonali totade commented on DATAFU-92: ------------------------------------- Added standard header and Created patch. > Create UDF to extract tuple out of bag in a specified index > ----------------------------------------------------------- > > Key: DATAFU-92 > URL: https://issues.apache.org/jira/browse/DATAFU-92 > Project: DataFu > Issue Type: New Feature > Affects Versions: 1.3.0 > Reporter: Zach Beniash > Assignee: Sonali totade > Labels: UDF > Fix For: 1.3.0 > > Attachments: DATAFU-92.patch, DATAFU-92.patch, TupleFromBag.java > > Original Estimate: 24h > Remaining Estimate: 24h > > Create a new UDF that is similar to "FirstTupleFromBag" but this one will be more general, and not only the first tuple. > This new UDF can be called "TupleFromBag" and will get three parameters: > 1. DataBag > 2. Index > 3. Optional Default Tuple > There should be a consideration to refactor FirstTupleFromBag to call TupleFromBag, for reusability consideration. -- This message was sent by Atlassian JIRA (v6.3.4#6332)