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: types_branch
Reporter: Viraj Bhat
Fix For: types_branch
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.