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 F20DAF725 for ; Mon, 28 Apr 2014 16:14:54 +0000 (UTC) Received: (qmail 97464 invoked by uid 500); 28 Apr 2014 16:14:54 -0000 Delivered-To: apmail-datafu-dev-archive@datafu.apache.org Received: (qmail 97434 invoked by uid 500); 28 Apr 2014 16:14:54 -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 97421 invoked by uid 99); 28 Apr 2014 16:14:53 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 16:14:53 +0000 X-ASF-Spam-Status: No, hits=-2000.7 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 28 Apr 2014 16:14:53 +0000 Received: (qmail 92439 invoked by uid 99); 28 Apr 2014 16:14:21 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Apr 2014 16:14:21 +0000 Date: Mon, 28 Apr 2014 16:14:21 +0000 (UTC) From: "Sam Steingold (JIRA)" To: dev@datafu.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (DATAFU-42) Simplify BagGroup output MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DATAFU-42?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13983147#comment-13983147 ] Sam Steingold edited comment on DATAFU-42 at 4/28/14 4:14 PM: -------------------------------------------------------------- I understand your logic. Please add an example on how to do this to every one of the following places: # the test suite # the [guide|http://datafu.incubator.apache.org/docs/datafu/guide/bag-operations.html] # the [JavaDoc|http://datafu.incubator.apache.org/docs/datafu/1.2.0/datafu/pig/bags/BagGroup.html] thanks! was (Author: sds): I understand your logic. Please add an example on how to do this to # the test suite # the [guide|http://datafu.incubator.apache.org/docs/datafu/guide/bag-operations.html] # the [JavaDoc|http://datafu.incubator.apache.org/docs/datafu/1.2.0/datafu/pig/bags/BagGroup.html] thanks! > Simplify BagGroup output > ------------------------ > > Key: DATAFU-42 > URL: https://issues.apache.org/jira/browse/DATAFU-42 > Project: DataFu > Issue Type: Improvement > Reporter: Sam Steingold > > {{BagGroup}} keeps the redundant {{group}} information in its output. > E.g., see [DATAFU-38]: > {code} > (1,{(b,1),(a,2)},{(B,{(B,3)}),(A,{(A,1),(A,2)})}) > (2,{(c,1),(b,2)},{(B,{(B,3),(B,5)}),(A,{(A,1),(A,2)}),(C,{(C,4),(C,6)})}) > {code} > can be > {code} > (1,{(b,1),(a,2)},{(B,{3}),(A,{1,2})}) > (2,{(c,1),(b,2)},{(B,{3,5}),(A,{1,2}),(C,{4,6})}) > {code} > without loss of information > Given that the bug [DATAFU-38] rendered this function quite useless and it was fixed just last week, I think {{BagGroup}} has not been used before, so this backward-incompatible change will not break any existing code. -- This message was sent by Atlassian JIRA (v6.2#6252)