[
https://issues.apache.org/jira/browse/PIG-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Xuefu Zhang resolved PIG-2059.
------------------------------
Resolution: Fixed
patch PIG-2059-3.patch is committed to both trunk and 0.9.
> 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-2.patch, PIG-2059-3.patch, 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