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/04/14 19:47:06 UTC
[jira] [Created] (PIG-1995) Pig gives unclear error message in an
error case
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
[jira] [Resolved] (PIG-1995) Pig gives unclear error message in an
error case
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1995?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang resolved PIG-1995.
------------------------------
Resolution: Cannot Reproduce
I mistakenly used my local repo with local changes to produce the problem. The problem cannot be reproduce in latest trunk. Thus, the case is closed as non-reproducible.
> 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