[ 
https://issues.apache.org/jira/browse/PIG-561?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12741133#action_12741133
 ] 

Dmitriy V. Ryaboy commented on PIG-561:
---------------------------------------

I believe PIG-773 fixes this. Can we close this?

> 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