Pig gives unclear error message in an error case ------------------------------------------------
Key: PIG-1995 URL: https://issues.apache.org/jira/browse/PIG-1995 Project: Pig Issue Type: Bug Affects Versions: 0.9.0 Reporter: Xuefu Zhang Assignee: Xuefu Zhang Fix For: 0.9.0 For the following query: A = load 'x' as (u:int, v, w); B = load 'y' as (w:int); C = cogroup A by u, B by w using 'merge'; Pis is happy with no parsing error. However, if 'merge' were replaced with 'collected', resulting a negative test case, Pig gives incorrect error message: grunt> C = cogroup A by u, B by w using 'collected'; 2011-04-14 10:39:10,155 [main] ERROR org.apache.pig.tools.grunt.Grunt - ERROR 1200: can't look backwards more than one token in this stream It seems this is a regression introduced lately. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira