Pig
  1. Pig
  2. PIG-3090

Introduce a syntax to be able to easily refer to the previously defined relation

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.12.0
    • Component/s: None
    • Labels:
      None

      Description

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

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

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

      1. PIG-3090-0.patch
        45 kB
        Jonathan Coveney
      2. PIG-3090-1.patch
        52 kB
        Jonathan Coveney

        Issue Links

          Activity

            People

            • Assignee:
              Jonathan Coveney
              Reporter:
              Jonathan Coveney
            • Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development