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

auto ship broken is presence of define for another streaming operator.

    XMLWordPrintableJSON

Details

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

    Description

      The following works:

      A = load 'studenttab10k';
      B = foreach A generate $0, $1, $2;
      C = stream B through `perl PigStreaming.pl`;
      store C into 'out';

      But this one causes an error: Can't open perl script "PigStreaming.pl": No such file or directory.

      define CMD `perl PigStreamingDep.pl` input(stdin using PigDump) ship(':SCRIPTHOMEPATH:/PigStreamingDep.pl', ':SCRIPTHOMEPATH:/PigStreamingModule.pm');
      A = load 'studenttab10k';
      B = stream A through `perl PigStreaming.pl`;
      C = stream B through CMD as (name, age, gpa);
      D = foreach C generate name, age;
      store D into 'out';#,

      Attachments

        1. PIG-230_0_20080505.patch
          5 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: