pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Zhang (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIG-1464) Should clean the Graph when register another Pig Script
Date Fri, 25 Jun 2010 07:49:50 GMT
Should clean the Graph when register another Pig Script

                 Key: PIG-1464
                 URL: https://issues.apache.org/jira/browse/PIG-1464
             Project: Pig
          Issue Type: Bug
          Components: grunt
    Affects Versions: 0.8.0
            Reporter: Jeff Zhang
            Assignee: Jeff Zhang
             Fix For: 0.8.0

In the current implementation, the variable names in pig script are all global variable. This
make one pig script know the variable in other scripts. In my opinion, this is not right.
Every relation name in pig script should be local variable, otherwise it will bring in unexpected
result.  This issue relates to PIG-1423

E.g there are two pig script as follows:

a = load 'data/b.txt' ;

b = foreach a generate $0;   // "a" is recognized by Grunt although it is in Test_1.pig

And the following execute normally, do not throw any exception

PigServer pig=new PigServer(ExecType.Local);

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message