Pig parser shouldn't log error code 0
-------------------------------------
Key: PIG-1956
URL: https://issues.apache.org/jira/browse/PIG-1956
Project: Pig
Issue Type: Bug
Affects Versions: 0.9.0
Reporter: Xuefu Zhang
Assignee: Xuefu Zhang
Priority: Minor
Fix For: 0.9.0
For the following pig script:
a = load 'x' as (name, age, gpa);
b = group a by name;
c = foreach b { ba = filter a by age < '25'; bb = foreach ba generate gpa;
generate group, flatten(bb);}
Parser gives the following error:
ERROR 0: <line 3, column 14> ...
It should give a more meaningful error message.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira