Return-Path: X-Original-To: apmail-pig-user-archive@www.apache.org Delivered-To: apmail-pig-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C6DCB9AE8 for ; Fri, 9 Mar 2012 02:21:02 +0000 (UTC) Received: (qmail 50848 invoked by uid 500); 9 Mar 2012 02:21:02 -0000 Delivered-To: apmail-pig-user-archive@pig.apache.org Received: (qmail 50791 invoked by uid 500); 9 Mar 2012 02:21:02 -0000 Mailing-List: contact user-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@pig.apache.org Delivered-To: mailing list user@pig.apache.org Received: (qmail 50778 invoked by uid 99); 9 Mar 2012 02:21:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 02:21:01 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of prash1784@gmail.com designates 209.85.213.49 as permitted sender) Received: from [209.85.213.49] (HELO mail-yw0-f49.google.com) (209.85.213.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Mar 2012 02:20:55 +0000 Received: by yhjj52 with SMTP id j52so805927yhj.22 for ; Thu, 08 Mar 2012 18:20:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lhgj2BLnJ4xKCsVEiN1+q2eZBHgoNRrCiJJoehw/dCM=; b=sgPkcBDqequKmb6XhsGC7jZ2NXD2k1fVHCKsjJokZQx3oqDFfm4duSmkziH/3WlFnZ D4f8TwMbX/c7BGg/G/SsM9AWeM34vdCSmuhHnlzdbr8TepsGaSzm3nUVDtOI633lCY7u SYPK708evS+qVx/aKuV7xFDIxlJ8R3QlxN2F3EiJUnU9d8GPKHyAIJeWEpIL1/3Dol7A wr2KO7didhNnlSEKygkHp1L8HxCc8wfz/0GpmJ3IzLrgwjR1RZpcCGJZI0IYi64J/Lbl z9dA9vbIAs6QtJd9XPh9Nriq01vVSh0Oq2SvcVnbEOzYbcC17q1v1jaDQSjKGwbuIvWr Fd5A== MIME-Version: 1.0 Received: by 10.236.136.33 with SMTP id v21mr548112yhi.17.1331259634797; Thu, 08 Mar 2012 18:20:34 -0800 (PST) Received: by 10.146.14.36 with HTTP; Thu, 8 Mar 2012 18:20:34 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Mar 2012 18:20:34 -0800 Message-ID: Subject: Re: Stripping Key From: Prashant Kommireddi To: user@pig.apache.org Content-Type: multipart/alternative; boundary=20cf303dd2fca2cb5504bac60991 X-Virus-Checked: Checked by ClamAV on apache.org --20cf303dd2fca2cb5504bac60991 Content-Type: text/plain; charset=ISO-8859-1 How are you loading it in Pig? Can you just ignore the first field (key) with positional reference? What is the key-value delimiter used in your MR job. On Thu, Mar 8, 2012 at 2:56 PM, Mohit Anchlia wrote: > I am trying to process the output which has key in it from the map-reduce > job. Is there a way I can ignore the key when I load data from that file? > When I load data in the variable I don't want the key in that alias. > --20cf303dd2fca2cb5504bac60991--