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/01 21:09:05 UTC
[jira] [Created] (PIG-1956) Pig parser shouldn't log error code 0
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
[jira] [Resolved] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang resolved PIG-1956.
------------------------------
Resolution: Fixed
Fixed in revision 1089102
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015980#comment-13015980 ]
Xuefu Zhang commented on PIG-1956:
----------------------------------
Unit test passed.
Patch is committed to trunk.
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015529#comment-13015529 ]
Xuefu Zhang commented on PIG-1956:
----------------------------------
Patch fixing PIG-1956, 1957, and 1958
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Daniel Dai (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015648#comment-13015648 ]
Daniel Dai commented on PIG-1956:
---------------------------------
+1
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Thejas M Nair (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015652#comment-13015652 ]
Thejas M Nair commented on PIG-1956:
------------------------------------
Looks good. +1
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015657#comment-13015657 ]
Xuefu Zhang commented on PIG-1956:
----------------------------------
Test-patch run:
[exec] +1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] +1 javac. The applied patch does not increase the total number of javac compiler warnings.
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Updated] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xuefu Zhang updated PIG-1956:
-----------------------------
Attachment: PIG-1956.patch
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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
[jira] [Commented] (PIG-1956) Pig parser shouldn't log error code 0
Posted by "Xuefu Zhang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13015600#comment-13015600 ]
Xuefu Zhang commented on PIG-1956:
----------------------------------
Test-patch run (additional javac warnings are due to generated code):
[exec] -1 overall.
[exec]
[exec] +1 @author. The patch does not contain any @author tags.
[exec]
[exec] +1 tests included. The patch appears to include 3 new or modified tests.
[exec]
[exec] +1 javadoc. The javadoc tool did not generate any warning messages.
[exec]
[exec] -1 javac. The applied patch generated 962 javac compiler warnings (more than the trunk's current 958 warnings).
[exec]
[exec] +1 findbugs. The patch does not introduce any new Findbugs warnings.
[exec]
[exec] +1 release audit. The applied patch does not increase the total number of release audit warnings.
> 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
>
> Attachments: PIG-1956.patch
>
>
> 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