[ 
https://issues.apache.org/jira/browse/PIG-2062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13033161#comment-13033161
 ] 

Xuefu Zhang commented on PIG-2062:
----------------------------------

Well, while not perfect, but I think it's good enough. If you really want to 
say something like "'all' is a reserved keyword', then you will need to 
customize the error message for each keyword, which I don't think worthwhile. 
We had such discussions before. 

> Script silently ended
> ---------------------
>
>                 Key: PIG-2062
>                 URL: https://issues.apache.org/jira/browse/PIG-2062
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.9.0
>            Reporter: Daniel Dai
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>         Attachments: PIG-2062.patch
>
>
> The following script ended silently without execution.
> {code}
> a = load '1.txt' as (a0, a1);
> b = load '2.txt' as (b0, b1);
> all = join a by a0, b by b0;
> store all into '1111';
> {code}
> If change the alias "all", it will run. We need to throw exception saying 
> "all" is a keyword.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to