pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PIG-2059) PIG doesn't validate incomplete query in batch mode even if -c option is given
Date Wed, 11 May 2011 17:41:48 GMT

     [ 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

Mime
View raw message