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] Updated: (PIG-1152) bincond operator throws parser error
Date Mon, 12 Jul 2010 20:32:55 GMT

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


Mime
View raw message