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] Assigned: (PIG-307) flatten logic assumes that anything to be flattened is a bag, when it could be a tuple.
Date Mon, 11 Aug 2008 17:46:45 GMT

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

Olga Natkovich reassigned PIG-307:
----------------------------------

    Assignee: Shravan Matthur Narayanamurthy

> flatten logic assumes that anything to be flattened is a bag, when it could be a tuple.
> ---------------------------------------------------------------------------------------
>
>                 Key: PIG-307
>                 URL: https://issues.apache.org/jira/browse/PIG-307
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: types_branch
>            Reporter: Alan Gates
>            Assignee: Shravan Matthur Narayanamurthy
>             Fix For: types_branch
>
>
> Queries such as:
> {code}
> a = load 'myfile' using PigStorage() as (name, age, gpa);                           
                         
> b = filter a by name lt 'b';                                                        
                                                                           
> c = foreach b generate TOKENIZE(name);                                              
                                                                           
> d = foreach c generate flatten($0);                                                 
                                                                           
> store d into 'outfile';
> {code}
> fail because the flatten statement in d = foreach ... assumes $0 is a bag.  

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