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

support use of relational operators supported within nested-foreach in expressions

    Details

    • Type: New Feature
    • Status: In Progress
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      This is more readable -
      res = FOREACH gby GENERATE group, FUNC(DISTINCT in.c3);
      than
      res = FOREACH gby

      { dist_c3 = DISTINCT in.c3; GENERATE group, FUNC(dist_c3);}

      All relations supported within nested-foreach could be supported for use within expressions.
      other examples -
      res = FOREACH gby GENERATE group, FUNC(limit in.c3 10);

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              thejas Thejas M Nair
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: