Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-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 1B4AFFD0A for ; Wed, 27 Mar 2013 21:39:35 +0000 (UTC) Received: (qmail 12656 invoked by uid 500); 27 Mar 2013 21:39:30 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 12542 invoked by uid 500); 27 Mar 2013 21:39:30 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 12533 invoked by uid 99); 27 Mar 2013 21:39:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 21:39:30 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of pig.mixed@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Mar 2013 21:39:24 +0000 Received: by mail-oa0-f42.google.com with SMTP id i18so9464963oag.29 for ; Wed, 27 Mar 2013 14:39:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type; bh=BaB3JKeCsSHfbBK9o3oTKimtGYTKlxlzfCgvY+5kJbE=; b=LKqIQmb8eXJFIZeUaZN9L5KaPDFQbwDKxyAmDarhceZJ+KjnpdIOWDCh86s9m0g62B PRmpZYKnNSZHUx9MFVVI+R3KkdnBJHQkkF3BToqio0Agjsr+90CWDNivgTqITmwgmvfb oj6EOhOFGVxWn5YsHVtJGvpCdPWkIMRVNA1M8S3YMRAMK6f8a9dhH7SP0E9Z9XxzBj8W 28W+jixldlGeCmu6uUzlsah5H//3tCZCVz0W6UfOJ39oFwUoBadwe3s3vNtvZjBW0NUQ Jy7+e1u8hxaxcF3GPsNDILTI3UG4axnfqwHX9+yO4sK1K1RpXegFZAhU5R5iITi3sNb6 r6Ew== MIME-Version: 1.0 X-Received: by 10.60.3.71 with SMTP id a7mr15769081oea.35.1364420344315; Wed, 27 Mar 2013 14:39:04 -0700 (PDT) Received: by 10.182.81.100 with HTTP; Wed, 27 Mar 2013 14:39:04 -0700 (PDT) Date: Wed, 27 Mar 2013 14:39:04 -0700 Message-ID: Subject: From: Mix Nin To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8f839d51f29a3804d8eedd12 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8f839d51f29a3804d8eedd12 Content-Type: text/plain; charset=ISO-8859-1 I wrote a pig script as follows and stored it in x.pig file Data = LOAD '/....' as (,,,, ) NoNullData= FILTER Data by qe is not null; STORE (foreach (group NoNullData all) generate flatten($1)) into 'exp/$inputDatePig'; evnt_dtl =LOAD 'exp/$inputDatePig/part-r-00000' AS (cust,,,,,) I executed the command as follows pig -f x.pig -param inputDatePig=03272013 And finally it says exp/03272013 tough the directory exists as it gets created in STORE command. What is wrong in this --e89a8f839d51f29a3804d8eedd12 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
I =A0wrote a pig script as follows and stored it in x.pig = file=A0

Data =3D LOAD '/....' as (,,,, )
NoNullData=3D FILTER Data by qe is not null;
STORE (fo= reach (group NoNullData all) generate flatten($1)) =A0into 'exp/$inputD= atePig';


evnt_dtl =3DLOAD 'exp/$inputDa= tePig/part-r-00000' AS (cust,,,,,)



I executed the command as follows=A0

pig =A0-f x.pig -param inputDatePig=3D03272013


And =A0finally it says exp/03272= 013 tough the directory exists as it gets created in STORE command.=A0

What is wrong in this
--e89a8f839d51f29a3804d8eedd12--