You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ying He (JIRA)" <ji...@apache.org> on 2009/10/29 19:31:59 UTC
[jira] Created: (PIG-1061) exception is thrown when there is
bincond in foreach after group by
exception is thrown when there is bincond in foreach after group by
-------------------------------------------------------------------
Key: PIG-1061
URL: https://issues.apache.org/jira/browse/PIG-1061
Project: Pig
Issue Type: Bug
Reporter: Ying He
the following statement throws exception
A = load 'a.txt' as (id, c);
B = group A by id;
C = foreach B generate group, COUNT(A)>0?'a','b';
parser doesn't recognize the UDF in the binconf.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1061) exception is thrown when there is
bincond in foreach after group by
Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771540#action_12771540 ]
Olga Natkovich commented on PIG-1061:
-------------------------------------
bincond needs paranthesis around it.
> exception is thrown when there is bincond in foreach after group by
> -------------------------------------------------------------------
>
> Key: PIG-1061
> URL: https://issues.apache.org/jira/browse/PIG-1061
> Project: Pig
> Issue Type: Bug
> Reporter: Ying He
>
> the following statement throws exception
> A = load 'a.txt' as (id, c);
> B = group A by id;
> C = foreach B generate group, COUNT(A)>0?'a','b';
> parser doesn't recognize the UDF in the binconf.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIG-1061) exception is thrown when there is
bincond in foreach after group by
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan resolved PIG-1061.
-----------------------------------
Resolution: Duplicate
Marking this as duplicate as PIG-394 has more details.
> exception is thrown when there is bincond in foreach after group by
> -------------------------------------------------------------------
>
> Key: PIG-1061
> URL: https://issues.apache.org/jira/browse/PIG-1061
> Project: Pig
> Issue Type: Bug
> Reporter: Ying He
>
> the following statement throws exception
> A = load 'a.txt' as (id, c);
> B = group A by id;
> C = foreach B generate group, COUNT(A)>0?'a','b';
> parser doesn't recognize the UDF in the binconf.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (PIG-1061) exception is thrown when there is
bincond in foreach after group by
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIG-1061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12780351#action_12780351 ]
Ashutosh Chauhan commented on PIG-1061:
---------------------------------------
This is a duplicate of PIG-394
> exception is thrown when there is bincond in foreach after group by
> -------------------------------------------------------------------
>
> Key: PIG-1061
> URL: https://issues.apache.org/jira/browse/PIG-1061
> Project: Pig
> Issue Type: Bug
> Reporter: Ying He
>
> the following statement throws exception
> A = load 'a.txt' as (id, c);
> B = group A by id;
> C = foreach B generate group, COUNT(A)>0?'a','b';
> parser doesn't recognize the UDF in the binconf.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.