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

Limit after FRJ causes problems

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Script:

      a = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
      b = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age,gpa);
      c = join a by name, b by name using "replicated";
      d = limit c 10;
      dump d;

      Error: ERROR 2013: Moving LOLimit in front of LOFRJoin is not implemented

      It is fine not to move limit and apply it after the join.

        Attachments

        1. PIG-642.patch
          1 kB
          Jianyong Dai

          Activity

            People

            • Assignee:
              daijy Jianyong Dai
              Reporter:
              olgan Olga Natkovich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: