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

limit with order by is broken in local mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.2.0
    • None
    • None

    Description

      Shubham, could you take a look.

      The following script when ran in local mode just ignores the limit and outputs the entire data set:

      a = load 'studenttab10k' as (name, age,gpa);
      b = order a by name;
      c = limit b 10;
      dump c;

      The same script works fine in MR mode

      Attachments

        1. 637.patch
          11 kB
          Shubham Chopra

        Activity

          People

            shubhamc Shubham Chopra
            olgan Olga Natkovich
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: