[ 
https://issues.apache.org/jira/browse/PIG-561?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Santhosh Srinivasan resolved PIG-561.
-------------------------------------

    Resolution: Duplicate

Duplicate of PIG-773

> Need to generate empty tuples and bags as a part of Pig Syntax
> --------------------------------------------------------------
>
>                 Key: PIG-561
>                 URL: https://issues.apache.org/jira/browse/PIG-561
>             Project: Pig
>          Issue Type: New Feature
>    Affects Versions: 0.2.0
>            Reporter: Viraj Bhat
>
> There is a need to sometimes generate empty tuples and bags as a part of the 
> Pig syntax rather than using UDF's
> {code}
> a = load 'mydata.txt' using PigStorage();
> b =foreach a generate ( ) as emptytuple;
> c = foreach a generate { } as emptybag;
> dump c;
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to