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


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