Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-3083

Introduce new syntax that let's you project just the columns that come from a given :: prefix

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.12.0
    • 0.18.0
    • None
    • Support scope-wise references to load aliases within nested relations

    Description

      This is basically a more refined approach than PIG-3078, but it is also more work. That JIRA is more of a stopgap until we do something like this.

      The idea would be to support something like the following:

      a = load 'a' as (x,y,z);
      b = load 'b' as (x,y,z);
      c = join a by x, b by x;
      d = foreach c generate a::*;

      Obviously this is useful for any case where you have relations with columns with various prefixes.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcoveney Jonathan Coveney
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: