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

Daniel Dai commented on PIG-2059:
---------------------------------

Might be better to change the name of the method. 
validateQuery->parseAndValidate, compile->validate. Other part looks good.

> PIG doesn't validate incomplete query in batch mode even if -c option is given
> ------------------------------------------------------------------------------
>
>                 Key: PIG-2059
>                 URL: https://issues.apache.org/jira/browse/PIG-2059
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.0
>            Reporter: Xuefu Zhang
>            Assignee: Xuefu Zhang
>             Fix For: 0.9.0
>
>         Attachments: PIG-2059.patch
>
>
> Given the following in a file to Pig, pig doesn't report any error, even if 
> -c option is given:
> A = load 'x' as (u, v);
> B = foreach A generate $3;
> It's questionable whether to validate the query in batch mode as it doesn't 
> contain any store/dump statement. However, if -c option is given, validation 
> should be nevertheless performed.

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

Reply via email to