You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Xuefu Zhang (JIRA)" <ji...@apache.org> on 2011/05/11 19:41:48 UTC

[jira] [Updated] (PIG-2059) PIG doesn't validate incomplete query in batch mode even if -c option is given

     [ https://issues.apache.org/jira/browse/PIG-2059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Xuefu Zhang updated PIG-2059:
-----------------------------

    Attachment: PIG-2059.patch

> 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