You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2011/04/19 22:59:05 UTC
[jira] [Created] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Using keyward as alias doesn't either emit an error or produce a logical plan.
------------------------------------------------------------------------------
Key: PIG-2003
URL: https://issues.apache.org/jira/browse/PIG-2003
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.0
Reporter: Xuefu Zhang
Fix For: 0.9.0
The following is the symptom:
grunt> ship = load 'x';
grunt> describe ship;
2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang resolved PIG-2003.
------------------------------
Resolution: Fixed
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
> Attachments: PIG-2003.patch
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13024995#comment-13024995 ]
Thejas M Nair commented on PIG-2003:
------------------------------------
+1 .
The new rule in this patch is logically the same old one, but the new one fixes the problem. This is probably caused by some bug in antlr (3.2).
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
> Attachments: PIG-2003.patch
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang reassigned PIG-2003:
--------------------------------
Assignee: Xuefu Zhang (was: Richard Ding)
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang updated PIG-2003:
-----------------------------
Attachment: PIG-2003.patch
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
> Attachments: PIG-2003.patch
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023487#comment-13023487 ]
Xuefu Zhang commented on PIG-2003:
----------------------------------
Test-patch run: (no new file, ignoring the release audit warnings.)
[exec] -1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] -1 javac. The applied patch generated 951 javac compiler warnings (more than the trunk's current 947 warnings).
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] -1 release audit. The applied patch generated 581 release audit warnings (more than the trunk's current 578 warnings).
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
> Attachments: PIG-2003.patch
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang reassigned PIG-2003:
--------------------------------
Assignee: Richard Ding
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Richard Ding
> Fix For: 0.9.0
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (PIG-2003) Using keyward as alias doesn't either
emit an error or produce a logical plan.
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-2003?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025074#comment-13025074 ]
Xuefu Zhang commented on PIG-2003:
----------------------------------
unit test passed. patch is committed to both trunk and 0.9.
> Using keyward as alias doesn't either emit an error or produce a logical plan.
> ------------------------------------------------------------------------------
>
> Key: PIG-2003
> URL: https://issues.apache.org/jira/browse/PIG-2003
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Xuefu Zhang
> Assignee: Xuefu Zhang
> Fix For: 0.9.0
>
> Attachments: PIG-2003.patch
>
>
> The following is the symptom:
> grunt> ship = load 'x';
> grunt> describe ship;
> 2011-04-19 13:52:52,809 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1005: No plan for ship to describe
> The correct behavior is to give an error.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira