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

Reply via email to