[ 
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

Reply via email to