You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Olga Natkovich (JIRA)" <ji...@apache.org> on 2010/07/12 22:32:55 UTC

[jira] Updated: (PIG-1152) bincond operator throws parser error

     [ https://issues.apache.org/jira/browse/PIG-1152?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-1152:
--------------------------------

    Fix Version/s: 0.9.0

> bincond operator throws parser error
> ------------------------------------
>
>                 Key: PIG-1152
>                 URL: https://issues.apache.org/jira/browse/PIG-1152
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.6.0
>            Reporter: Ankur
>             Fix For: 0.9.0
>
>
> Bincond operator throws parser error when true condition contains a constant bag with 1 tuple containing a single field of int type with -ve value. 
> Here is the script to reproduce the issue
> A = load 'A' as (s: chararray, x: int, y: int);
> B = group A by s;
> C = foreach B generate group, flatten(((COUNT(A) < 1L) ? {(-1)} : A.x));
> dump C;

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.