hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Santhosh Srinivasan (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (PIG-538) bincond can't work with flatten bags
Date Wed, 03 Dec 2008 19:33:44 GMT

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

Santhosh Srinivasan reassigned PIG-538:

    Assignee: Pradeep Kamath  (was: Santhosh Srinivasan)

> bincond can't work with flatten bags
> ------------------------------------
>                 Key: PIG-538
>                 URL: https://issues.apache.org/jira/browse/PIG-538
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: types_branch
>            Reporter: Olga Natkovich
>            Assignee: Pradeep Kamath
>             Fix For: types_branch
> The following script is user with trunk code to simulated outer join not directly supported
by pig:
> A = load '/studenttab10k' as (name: chararray, age: int, gpa: float);
> B = load 'votertab10k' as (name: chararray, age: int, registration: chararray, donation:
> C = cogroup A by name, B by name;
> D = foreach C generate group, (IsEmpty(A) ? '' : flatten(A)), (IsEmpty(B) ? 'null' :
> On types branch this gives syntax error and even beyond that not supported since bincond
requires that both expressions be of the same type. Santhosh suggested to have  special NULL
expression that matches any type. This seems to make sense.

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

View raw message