You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Jonathan Coveney (JIRA)" <ji...@apache.org> on 2012/12/11 20:11:21 UTC

[jira] [Created] (PIG-3090) Introduce a syntax to be able to easily refer to the previously defined relation

Jonathan Coveney created PIG-3090:
-------------------------------------

             Summary: Introduce a syntax to be able to easily refer to the previously defined relation
                 Key: PIG-3090
                 URL: https://issues.apache.org/jira/browse/PIG-3090
             Project: Pig
          Issue Type: New Feature
            Reporter: Jonathan Coveney


Sometimes I feel like swimming with ANTLRs. This particular feature isn't too hard to add... and supports syntax like this:

{code}
a = load 'thing' as (x:int);
b = foreach @ generate x;
c = foreach @ generate x;
d = foreach @ generate x;
{code}

I have a patch, though I need to make sure it doesn't change anything (it shouldn't) and I need to add tests.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira