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

limit with order by is broken in local mode

    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

      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

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

              Dates

              • Created:
                Updated:
                Resolved: