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

Limit after FRJ causes problems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • 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
          Daniel Dai

        Activity

          People

            daijy Daniel Dai
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: