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

Failure running complex script with streaming

    Details

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

      Description

      The following script fails (stack is further down):

      define CMD `perl identity.pl`;
      define CMD1 `perl identity.pl`;
      A = load '/user/pig/tests/data/singlefile/studenttab10k' as (name, age, gpa);
      B = stream A through CMD;
      store B into 'B1';
      C = stream B through CMD1;
      D = JOIN B by name, C by name;
      store D into 'D1';

      If I remove the intermediate store, the script works fine. Also if I replace streaming commands with other operators such as filter and foreach, it works even with the intermediate store.

        Attachments

        1. PIG-272_0_20080621.patch
          11 kB
          Arun C Murthy
        2. PIG-272_test.pig
          0.9 kB
          Arun C Murthy
        3. split.pl
          0.4 kB
          Arun C Murthy

          Activity

            People

            • Assignee:
              acmurthy Arun C Murthy
              Reporter:
              olgan Olga Natkovich
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: