Is there any Conditional Statement in Apache Pig like If/Else

2013-07-16 Thread Bhavesh K Shah
Hello All, I am newbie to Apache Pig and I am exploring it for my one of the use case. Actually I am writing PIG Script and want to execute some set of statements if one of the condition is satisfied. I have set one variable to some value. I want to implement like below: if flag==0 then

[jira] [Created] (PIG-3378) Pig streaming with multiquery is buggy in local mode.

2013-07-16 Thread Thomas Porez (JIRA)
Thomas Porez created PIG-3378: - Summary: Pig streaming with multiquery is buggy in local mode. Key: PIG-3378 URL: https://issues.apache.org/jira/browse/PIG-3378 Project: Pig Issue Type: Bug

Re: Is there any Conditional Statement in Apache Pig like If/Else

2013-07-16 Thread yu xiang
http://pig.apache.org/docs/r0.11.1/cont.html On Tue, Jul 16, 2013 at 3:34 PM, Bhavesh K Shah bhavesh.s...@bitwiseglobal.com wrote: Hello All, I am newbie to Apache Pig and I am exploring it for my one of the use case. Actually I am writing PIG Script and want to execute some set of

[jira] [Resolved] (PIG-3372) test

2013-07-16 Thread Alan Gates (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alan Gates resolved PIG-3372. - Resolution: Invalid test Key: PIG-3372 URL:

[jira] [Updated] (PIG-3379) Alias reuse in nested foreach causes PIG script to fail

2013-07-16 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated PIG-3379: - Description: The following script fails: {{ Events = LOAD 'x' AS (eventTime:long, deviceId:chararray,

[jira] [Created] (PIG-3379) Alias reuse in nested foreach causes PIG script to fail

2013-07-16 Thread Xuefu Zhang (JIRA)
Xuefu Zhang created PIG-3379: Summary: Alias reuse in nested foreach causes PIG script to fail Key: PIG-3379 URL: https://issues.apache.org/jira/browse/PIG-3379 Project: Pig Issue Type: Bug

[jira] [Updated] (PIG-3379) Alias reuse in nested foreach causes PIG script to fail

2013-07-16 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated PIG-3379: - Description: The following script fails: {code:title=temp.pig} Events = LOAD 'x' AS (eventTime:long,

[jira] [Updated] (PIG-3379) Alias reuse in nested foreach causes PIG script to fail

2013-07-16 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Xuefu Zhang updated PIG-3379: - Description: The following script fails: {code:title=temp.pig} Events = LOAD 'x' AS (eventTime:long,

[jira] [Commented] (PIG-3379) Alias reuse in nested foreach causes PIG script to fail

2013-07-16 Thread Xuefu Zhang (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3379?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13710085#comment-13710085 ] Xuefu Zhang commented on PIG-3379: -- It seems related to PIG-1271 and PIG-2530, but both

[jira] Subscription: PIG patch available

2013-07-16 Thread jira
Issue Subscription Filter: PIG patch available (18 issues) Subscriber: pigdaily Key Summary PIG-3374CASE and IN fail when expression includes dereferencing operator https://issues.apache.org/jira/browse/PIG-3374 PIG-3373XMLLoader returns non-matching nodes

[jira] [Created] (PIG-3380) patch to fix existing failures due to test related issues

2013-07-16 Thread Annie Lin (JIRA)
Annie Lin created PIG-3380: -- Summary: patch to fix existing failures due to test related issues Key: PIG-3380 URL: https://issues.apache.org/jira/browse/PIG-3380 Project: Pig Issue Type: Bug

[jira] [Updated] (PIG-3380) patch to fix existing failures due to test related issues

2013-07-16 Thread Annie Lin (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3380?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Annie Lin updated PIG-3380: --- Attachment: BUG-6364843.patch patch to fix existing e2e failures due to test related problem.

[jira] [Updated] (PIG-3373) XMLLoader returns non-matching nodes when a tag name spans through the block boundary

2013-07-16 Thread Cheolsoo Park (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cheolsoo Park updated PIG-3373: --- Status: Open (was: Patch Available) Canceling the patch waiting for response.

[jira] [Updated] (PIG-3374) CASE and IN fail when expression includes dereferencing operator

2013-07-16 Thread Cheolsoo Park (JIRA)
[ https://issues.apache.org/jira/browse/PIG-3374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Cheolsoo Park updated PIG-3374: --- Attachment: PIG-3374-4.patch I forgot to update AliasMasker.g in the previous patch, so I included the

Re: Review Request 12290: CASE and IN fail when expression includes dereferencing operator

2013-07-16 Thread Cheolsoo Park
--- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/12290/ --- (Updated July 17, 2013, 5:49 a.m.) Review request for pig. Changes ---