hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Olga Natkovich (JIRA)" <j...@apache.org>
Subject [jira] Commented: (PIG-1061) exception is thrown when there is bincond in foreach after group by
Date Thu, 29 Oct 2009 18:35:59 GMT

    [ 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.


Mime
View raw message