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

Daniel Dai commented on PIG-2062:
---------------------------------

Now it throws exception. The error message is:
ERROR 1200: <file 100.pig, line 3, column 0>  mismatched input 'all' expecting 
EOF
Seems still not obvious. 

Can you give some hint of how to improve error message?

> 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