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

Failure running complex script with streaming

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1.0
    • None
    • 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 Murthy
        2. PIG-272_test.pig
          0.9 kB
          Arun Murthy
        3. split.pl
          0.4 kB
          Arun Murthy

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: